public void testAcquiredJobs() {
List<String> firstBatch = new ArrayList<String>(Arrays.asList("a", "b", "c"));
List<String> secondBatch = new ArrayList<String>(Arrays.asList("d", "e", "f"));
List<String> thirdBatch = new ArrayList<String>(Arrays.asList("g"));
AcquiredJobs acquiredJobs = new AcquiredJobs();
acquiredJobs.addJobIdBatch(firstBatch);
acquiredJobs.addJobIdBatch(secondBatch);
acquiredJobs.addJobIdBatch(thirdBatch);
assertEquals(firstBatch, acquiredJobs.getJobIdBatches().get(0));
assertEquals(secondBatch, acquiredJobs.getJobIdBatches().get(1));
assertEquals(thirdBatch, acquiredJobs.getJobIdBatches().get(2));
acquiredJobs.removeJobId("a");
assertEquals(Arrays.asList("b", "c"), acquiredJobs.getJobIdBatches().get(0));
assertEquals(secondBatch, acquiredJobs.getJobIdBatches().get(1));
assertEquals(thirdBatch, acquiredJobs.getJobIdBatches().get(2));
assertEquals(3, acquiredJobs.getJobIdBatches().size());
acquiredJobs.removeJobId("g");
assertEquals(2, acquiredJobs.getJobIdBatches().size());
}