@Test
	public void testLaunchNotDeployedJob() {
		logger.info("Launch batch job that is not deployed");
		String jobName = generateJobName();
		executeJobCreate(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR, false);
		CommandResult result = executeCommandExpectingFailure("job launch --name " + jobName);
		assertThat(result.getException().getMessage(),
				containsString(String.format("The job named '%s' is not currently deployed", jobName)));
	}
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