JobDetailFormatter { public static String createJobDetails(JobValidator validator, Workload workload, JobInstance proposedJobInstance) { return buildDetails(validator, workload, proposedJobInstance, null); }  static String createJobDetails(JobValidator validator, Workload workload, JobInstance proposedJobInstance); static String createJobDetails(JobValidator validator, String scriptName);  }
@Test public void testCreateJobDetails_1() throws Exception { JobValidator validator = new JobValidator(new Script()); String scriptName = ""; String result = JobDetailFormatter.createJobDetails(validator, scriptName); assertNotNull(result); }
@Test public void testCreateJobDetails_2() throws Exception { JobValidator validator = new JobValidator(new Script()); Workload workload = new Workload(); JobInstance proposedJobInstance = new JobInstance(); String result = JobDetailFormatter.createJobDetails(validator, workload, proposedJobInstance); assertNotNull(result); }