@Test
	public void testInvalidNestedJobLaunch() {
		logger.info("Launch nested job");
		String jobName = generateJobName();
		CommandResult result = executeCommandExpectingFailure("job create --definition \"" +
				INVALID_NESTED_JOB_DESCRIPTOR + "\" --name " + jobName);
		assertTrue(result.getException().getMessage().contains(
				"Could not find module with name 'invalidJob' and type 'job'"));
	}
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