Remove unnecessary local variable.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 29 Oct 2013 19:00:44 +0000 (20:00 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:25:49 +0000 (22:25 +0100)
src/test/java/net/pterodactylus/sone/fcp/GetLocalSonesCommandTest.java

index 09abef6..002ca9b 100644 (file)
@@ -54,7 +54,8 @@ public class GetLocalSonesCommandTest {
        @Test
        public void verifyThatOnlyLocalSonesAreReturned() throws FSParseException {
                Collection<Sone> localSones = asList(mocks.mockLocalSone("LSone1"), mocks.mockLocalSone("LSone2"), mocks.mockLocalSone("LSone3"));
-               Collection<Sone> remoteSones = asList(mocks.mockRemoteSone("RSone1"), mocks.mockRemoteSone("RSone2"));
+               mocks.mockRemoteSone("RSone1");
+               mocks.mockRemoteSone("RSone2");
                SimpleFieldSet getLocalSonesFieldSet = new SimpleFieldSetBuilder().put("Message", "GetLocalSones").get();
                Response response = getLocalSonesCommand.execute(getLocalSonesFieldSet, null, DIRECT);
                assertThat(response, notNullValue());