@Test
	public void testJobCreateDuplicateWithDeployFalse() {
		logger.info("Create 2 myJobs with --deploy = false");
		String jobName = generateJobName();
		executeJobCreate(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR, false);

		checkForJobInList(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR, false);

		CommandResult cr = createJob(jobName, "job", "false");
		checkForFail(cr);
		checkDuplicateJobErrorMessage(cr, jobName);

		checkForJobInList(jobName, JOB_WITH_PARAMETERS_DESCRIPTOR, false);
	}
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