@Test
public void testParseConfigFailIOException() throws IOException {

  Path jobFolder = new Path(Constants.TONY_CORE_SRC + "test/resources/typicalHistFolder/job1");
  FileSystem mockFs = mock(FileSystem.class);
  when(mockFs.listStatus(jobFolder)).thenThrow(new IOException("IO Excpt"));
  List<JobConfig> loc = ParserUtils.parseConfig(mockFs, jobFolder);
  assertEquals(0, loc.size());
}