@Test
	public void testInvalidJobDescriptor() throws InterruptedException {
		JobParametersHolder.reset();
		final JobParametersHolder jobParametersHolder = new JobParametersHolder();
		CommandResult cr = getShell().executeCommand("job create --definition \"barsdaf\" --name " + generateJobName());
		checkForFail(cr);
		checkErrorMessages(cr, "Could not find module with name 'barsdaf'");
		assertFalse("Job did not complete within time alotted", jobParametersHolder.isDone());
	}
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