From c03b2a36ebac9d15ebe7d700c66b26aab87d8141 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 2 Dec 2014 22:29:52 +0100 Subject: [PATCH] Fix variable name. --- src/test/java/net/pterodactylus/sone/fcp/LockSoneCommandTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.7.4