@Test
public void testExecuteNotFound() throws IOException {
shellOperation = new ShellOperation(CommandFactory.CD, Arrays.asList(TMP_DIR));
String currentUserDir = System.getProperty("user.dir");
Mockito.when(sessionContext.getCurrentDirectory()).thenReturn(currentUserDir);
CommandResponse commandResponse = cdCommand.executeOperation(shellOperation, sessionContext);
assertEquals(ResponseStatusEnum.ERROR, commandResponse.getResponseStatus());
Mockito.verify(sessionContext, Mockito.never()).setCurrentDirectory(
new File(TMP_DIR).getAbsoluteFile().toString());
}