@Test
	public void testJobLifecycle() throws InterruptedException {
		FileJdbcJob job = new FileJdbcJob(FileJdbcJob.DEFAULT_DIRECTORY, FileJdbcJob.DEFAULT_FILE_NAME,
				FileJdbcJob.DEFAULT_TABLE_NAME, FileJdbcJob.DEFAULT_NAMES, FileJdbcJob.DEFAULT_DELETE_FILES);
		String jobName = "tjl" + UUID.randomUUID().toString();
		logger.info("Testing Job Lifecycle for: " + jobName);
		job(jobName, job.toDSL(),true);
		checkJob(jobName, job.toDSL(), true);
		undeployJob(jobName);
		checkJob(jobName, job.toDSL(), false);
	}
Removes the table created from a previous test.
spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/JobCommandTest.java