private void verifySparkAppResults(String jobName) {
		List<JobExecutionInfoResource> jobList = this.getJobExecInfoByName(jobName);
		long executionId = jobList.get(0).getExecutionId();
		List<StepExecutionInfoResource> stepExecutions = getStepExecutions(executionId);
		StepExecutionInfoResource stepInfo = stepExecutions.get(0);
		String result = getStepResultJson(executionId,
				stepInfo.getStepExecution().getId());
		assertTrue("The String Pi is roughly 3. is not contained in " + result,
				result.indexOf("Pi is roughly 3.") > -1);

	}
Initialize Fixture and copy the SparkApp Jar to the XD Instance.
spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/SparkAppTests.java