@Test
public void testGetJobFoldersEmptyHistoryFolder() {

  Path histFolder = new Path(Constants.TONY_CORE_SRC + "test/resources/emptyHistFolder");
  assertTrue(HdfsUtils.getJobDirs(fs, histFolder, "job*").isEmpty());
}