@Test
public void testDetectedStrategies() throws ServletException {

	servlet.setContextClass(DetectWebApplicationContext.class);
	servlet.init(config);
	MessageDispatcher messageDispatcher = (MessageDispatcher) servlet.getMessageReceiver();
	Assert.assertNotNull("No messageDispatcher created", messageDispatcher);
	assertStrategies(PayloadRootQNameEndpointMapping.class, messageDispatcher.getEndpointMappings());
	assertStrategies(PayloadEndpointAdapter.class, messageDispatcher.getEndpointAdapters());
	assertStrategies(SimpleSoapExceptionResolver.class, messageDispatcher.getEndpointExceptionResolvers());
}