@Test
public void testParseToJobStep() {

    TestJob task = new TestJob();
    JobInstance.JobStep step = JobInfoConverter.parseToJobStep(task, 0, null);
    assertEquals(step.getStatus(), JobStepStatusEnum.PENDING);
    step = JobInfoConverter.parseToJobStep(task, 0, new TestOutput());
    assertEquals(step.getStatus(), JobStepStatusEnum.FINISHED);
}