@Test
	public void testBasicConstructor() {

		StepExecutionInfo info = new StepExecutionInfo("job1", 5l, "step1", TimeZone.getTimeZone("America/Chicago"));

		verify(info, "step1", null, "-", "NONE", 5l, "job1", "-", "NONE", StepType.UNKNOWN.getDisplayName());
		assertEquals(info.getName(), "step1");
		assertNull(info.getId());
		assertEquals(info.getDuration(), "-");
		assertEquals(info.getDurationMillis(), 0);
		assertEquals(info.getExitCode(), "NONE");
		assertEquals((long) info.getJobExecutionId(), 5l);
		assertEquals(info.getJobName(), "job1");
		assertEquals(info.getName(), "step1");
		assertEquals(info.getStartDate(), "-");
		assertEquals(info.getStatus(), "NONE");
		assertNotNull(info.getStepExecution());
		assertEquals(info.getStepType(), StepType.UNKNOWN.getDisplayName());
	}
@author Michael Minella
@author Gunnar Hillert
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/job/StepExecutionInfoTests.java