From: David ‘Bombe’ Roden Date: Tue, 2 Dec 2014 21:29:52 +0000 (+0100) Subject: Fix variable name. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c03b2a36ebac9d15ebe7d700c66b26aab87d8141;p=Sone.git Fix variable name. --- diff --git a/src/test/java/net/pterodactylus/sone/fcp/LockSoneCommandTest.java b/src/test/java/net/pterodactylus/sone/fcp/LockSoneCommandTest.java index 383b52a..5932c31 100644 --- a/src/test/java/net/pterodactylus/sone/fcp/LockSoneCommandTest.java +++ b/src/test/java/net/pterodactylus/sone/fcp/LockSoneCommandTest.java @@ -66,9 +66,9 @@ public class LockSoneCommandTest { @Test(expected = FcpException.class) public void testLockingARemoteSone() throws FcpException { - Sone removeSone = mock(Sone.class); + Sone remoteSone = mock(Sone.class); Core core = mock(Core.class); - when(core.getSone(eq("RemoteSone"))).thenReturn(Optional.of(removeSone)); + when(core.getSone(eq("RemoteSone"))).thenReturn(Optional.of(remoteSone)); SimpleFieldSet fields = new SimpleFieldSetBuilder().put("Sone", "RemoteSone").get(); LockSoneCommand lockSoneCommand = new LockSoneCommand(core);