protected PollingMailSource newPollingMailSource() {
		PollingMailSource pollingMailSource = new PollingMailSource();
		disposables.add(pollingMailSource);
		return pollingMailSource;
	}
Provides an @After JUnit lifecycle method that will destroy the definitions that were created by the test.

@author Andy Clement
@author Mark Pollack
@author Eric Bottard
@author Franck Marchand
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractStreamIntegrationTest.java