Rather than deleting these assertions in all these tests, I think I'd rather see us do something like

````java
MessagePublishingErrorHandler errorHandler = TestUtils.getPropertyValue(taskScheduler, "errorHandler",
		MessagePublishingErrorHandler.class);
errorHandler.handleError(new Throwable());
assertEquals(context.getBean(IntegrationContextUtils.ERROR_CHANNEL_BEAN_NAME),
		TestUtils.getPropertyValue(errorHandler, "defaultErrorChannel"));
````