protected void executeJobLaunch(String jobName) {
		CommandResult cr = executeCommand("job launch --name " + jobName);
		String prefix = "Successfully submitted launch request for job '";
		assertEquals(prefix + jobName + "'", cr.getResult());
		waitForJobCompletion(jobName);
	}
Launch a job that is already deployed
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractJobIntegrationTest.java