SimpleFieldSet fields = new SimpleFieldSetBuilder().put("Sone", "LocalSone").get();
UnlockSoneCommand unlockSoneCommand = new UnlockSoneCommand(core);
- Response response = unlockSoneCommand.execute(fields, null, null);
+ Response response = unlockSoneCommand.execute(fields);
verify(core).unlockSone(eq(localSone));
assertThat(response, notNullValue());
SimpleFieldSet fields = new SimpleFieldSetBuilder().put("Sone", "RemoteSone").get();
UnlockSoneCommand unlockSoneCommand = new UnlockSoneCommand(core);
- unlockSoneCommand.execute(fields, null, null);
+ unlockSoneCommand.execute(fields);
}
@Test(expected = FcpException.class)
SimpleFieldSet fields = new SimpleFieldSetBuilder().get();
UnlockSoneCommand unlockSoneCommand = new UnlockSoneCommand(core);
- unlockSoneCommand.execute(fields, null, null);
+ unlockSoneCommand.execute(fields);
}
}