JobInstance jobInstance3 = new JobInstance(3l, job1.getName());
jobInstances.add(jobInstance1);
jobInstances.add(jobInstance3);
Map<String, JobParameter> parametersMap1 = new HashMap<String, JobParameter>();
parametersMap1.put("param1", new JobParameter("test", true));
parametersMap1.put("param2", new JobParameter(123l, false));
JobParameters jobParameters1 = new JobParameters(parametersMap1);
JobParameters jobParameters2 = new JobParameters(parametersMap1);
JobExecution jobExecution1 = new JobExecution(jobInstance1, 0l, jobParameters1, null);
JobExecution jobExecution2 = new JobExecution(jobInstance2, 3l, jobParameters2, null);