@Test
public void testParseConfigSuccess() {

  Path jobFolder = new Path(Constants.TONY_CORE_SRC + "test/resources/typicalHistFolder/job1");
  List<JobConfig> expected = new ArrayList<>();
  JobConfig expectedConfig = new JobConfig();
  expectedConfig.setName("name");
  expectedConfig.setValue("value");
  expectedConfig.setFinal(true);
  expectedConfig.setSource("source");
  expected.add(expectedConfig);
  List<JobConfig> actual = ParserUtils.parseConfig(fs, jobFolder);
  assertEquals(actual.size(), expected.size());
  assertEquals(actual.get(0).getName(), expected.get(0).getName());
  assertEquals(actual.get(0).getValue(), expected.get(0).getValue());
  assertEquals(actual.get(0).isFinal(), expected.get(0).isFinal());
  assertEquals(actual.get(0).getSource(), expected.get(0).getSource());
}