@Test
public void thatCanScheduleAListOfJobs() throws NoSuchFieldException, IllegalAccessException {

    HaloJobScheduler haloJobScheduler = givenAHaloJobScheduler();
    Job job1 = givenAJob(mCallbackFlag,"job1");
    Job job2 = givenAJob(mCallbackFlag,"job2");
    Job [] jobs = new Job[] {job1,job2};
    haloJobScheduler.schedule(jobs);
    HashMap<String, Job> pendingList = getPendingListByReflection(haloJobScheduler);
    assertThat(pendingList.containsKey(job1.info().mTag)).isFalse();
    assertThat(pendingList.containsKey(job2.info().mTag)).isFalse();
}