@Test
	public void testDisplayStepExecution() {
		final String jobName = generateJobName();
		executeJobCreate(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR);
		checkForJobInList(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR, true);
		executeJobLaunch(jobName);
		final String jobExecutionId = getJobExecutionId(jobName);
		final Table stepExecutions = listStepExecutions(jobExecutionId);
		String stepExecutionId = stepExecutions.getRows().get(0).getValue(1);

		final Table stepExecution = getDisplayStepExecution(jobExecutionId, stepExecutionId);
		final String stepExecutionIdFromTable = stepExecution.getRows().get(0).getValue(2);
		final String jobExecutionIdFromTable = stepExecution.getRows().get(1).getValue(2);

		final String stepNameFromTable = stepExecution.getRows().get(2).getValue(2);
		// start time
		final String duration = stepExecution.getRows().get(3).getValue(2);
		assertEquals(stepExecutionId, stepExecutionIdFromTable);
		assertEquals(jobExecutionId, jobExecutionIdFromTable);
		assertNotEquals(stepNameFromTable, "N/A");
		assertFalse(duration.isEmpty());
		assertNotEquals(duration, "N/A");
	}
Test {@link JobCommands}.

@author Glenn Renfro
@author Gunnar Hillert
@author Ilayaperumal Gopinathan
@author Michael Minella
@since 1.0
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractJobCommandsTests.java