localCommandFactory = new MockLocalCommandFactory(LOG);
}
@Test
public void testShutdownBeforeWaitFor() throws Exception {
LocalCommand localCommand = mock(LocalCommand.class);
localCommandFactory.setInstance(localCommand);
RSyncCommandExecutor executor = new RSyncCommandExecutor(LOG, localCommandFactory);
Assert.assertFalse(executor.isShutdown());
executor.shutdownNow();
RSyncCommand command = new RSyncCommand(executor, "privateKey", "user", "host", 1, "local", "remote", RSyncCommand.Type.FROM_LOCAL);