assertReflectionEquals(expectedJobs, actualJobs);
}
@Test
public void testLoadJob() throws Exception {
Job actualJob = jsonParser.createJob(IOUtils.toString(getClass().getResourceAsStream("JsonRequestManager_loadJob.json")));
assertReflectionEquals(new JobBuilder()
.job("config-provider-model", "blue", "http://ci.jenkins-ci.org/job/config-provider-model/", "false", "true")
.lastBuild("http://ci.jenkins-ci.org/job/config-provider-model/8/", "8", "SUCCESS", "false", "2012-04-02_16-26-29")
.health("health-80plus", "0 tests en echec sur un total de 24 tests")