@Test
	public void twitterSearchTest() throws Exception {

		final String streamName = "ts" + UUID.randomUUID().toString();
		final String data = "#katyperry";
		TwitterSearchSource twitterSearchSource = sources.twitterSearch(data);
		stream(streamName, twitterSearchSource + XD_DELIMITER + " file");
		this.waitForXD();
		assertFileContainsIgnoreCase(data, streamName);

	}
Test Twitter search to make sure it is returning what we requested.

@author Glenn Renfro
spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/TwitterSearchTest.java