@AfterClass
	public static void cleanup() {
		// By default the data directory is located inside ${xd.data.home}/jobs
		// Refer batch.xml
		try {
			FileUtils.deleteDirectory(new File(batchJobsDirectory + "/jobs"));
			FileUtils.deleteDirectory(new File(zkNamespaceDir));
		}
		catch (Exception e) {
			e.printStackTrace();
		}
		batchJobsDirectory = tmpDir;
	}
Support class to have random configuration for tests.

@author Ilayaperumal Gopinathan
spring-xd-test/src/main/java/org/springframework/xd/test/RandomConfigurationSupport.java