FileUtils.touch(new File(TMP_DIR + "/" + TMP_FILE1));
FileUtils.touch(new File(TMP_DIR + "/" + TMP_FILE2));
FileUtils.forceMkdir(new File(TMP_DIR + "/" + TMP_DIR1));
String currentUserDir = System.getProperty("user.dir");
Mockito.when(sessionContext.getCurrentDirectory()).thenReturn(currentUserDir);
shellOperation = new ShellOperation(CommandFactory.LS, Arrays.asList(TMP_DIR));
response = lsCommand.executeOperation(shellOperation, sessionContext);
assertEquals(ResponseStatusEnum.OK, response.getResponseStatus());
Assert.assertTrue(response.getResultAsString().contains(FILE + TAB + TMP_FILE1));
Assert.assertTrue(response.getResultAsString().contains(FILE + TAB + TMP_FILE2));