protected SubscribableChannel getErrorChannel() {
		return application.containerContext().getBean("errorChannel", SubscribableChannel.class);
	}
Used to capture currently executing test method.
spring-xd-shell/src/test/java/org/springframework/xd/shell/AbstractShellIntegrationTest.java