protected void executeJobDestroy(String... jobNames) {
		for (String jobName : jobNames) {
			CommandResult cr = executeCommand("job destroy --name " + jobName);
			assertTrue("Failure to destroy job " + jobName + ".  CommandResult = " + cr.toString(), cr.isSuccess());
			jobStateVerifier.waitForDestroy(jobName);
		}
	}
Execute 'job destroy' for the supplied job names
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractJobIntegrationTest.java