@AfterClass
	public static void tearDown() {
		if (application != null) {
			application.close();
		}
	}
Test a processing chain that provides a sink. Send a payload and set up a tap to verify the result;
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/stream/ExampleProcessingChainTests.java