localCommandFactory = new MockLocalCommandFactory(LOG);
localCommand = mock(LocalCommand.class);
localCommandFactory.setInstance(localCommand);
sshCommandExecutor = spy(new MockSSHCommandExecutor(LOG));
rsyncCommandExecutor = spy(new MockRSyncCommandExecutor(LOG));
logger = new TestLogger(System.err, TestLogger.LEVEL.TRACE);
templateDefaults = ImmutableMap.<String, String>builder()
.put("localDir", LOCAL_DIR)
.put("workingDir", WORKING_DIR)
.put("instanceName", INSTANCE_NAME)
.put("branch", BRANCH)