cal.setTime(nominal);
cal.add(Calendar.MINUTE, 30); // as per the sla xml
String expectedEnd = DateUtils.formatDateOozieTZ(cal.getTime());
// testing creation of new sla registration via Submit command
SubmitXCommand sc = new SubmitXCommand(conf);
String jobId = sc.call();
SLACalcStatus slaEvent = slas.getSLACalculator().get(jobId);
assertEquals(jobId, slaEvent.getId());
assertEquals("test-wf-job-sla", slaEvent.getAppName());
assertEquals(AppType.WORKFLOW_JOB, slaEvent.getAppType());
assertEquals(nominalTime, DateUtils.formatDateOozieTZ(slaEvent.getNominalTime()));