public void verifyHdfsTestContent(String expectedResult, String pathToHdfsFile) {
		Assert.hasText(pathToHdfsFile, "pathToHdfsFile must not be empty nor null");
		Assert.notNull(expectedResult, "pathToHdfsFile must not be null");

		assertTrue(pathToHdfsFile + " is not present on hdfs file system",
				hadoopUtil.waitForPath(10000, pathToHdfsFile));
		assertEquals("The data returned from hadoop was different than was sent.  ", expectedResult + "\n",
				hadoopUtil.getFileContentsFromHdfs(pathToHdfsFile));
	}
Evaluates the content of the hdfs file against a result.  If equal no action is taken else an assert is thrown.
@param expectedResult The data that should be within the hdfs file.
@param pathToHdfsFile The location of the file on the hdfs file system
spring-xd-integration-test/src/main/java/org/springframework/xd/integration/util/XdEc2Validation.java