CitrusMessageDispatcherServlet extends MessageDispatcherServlet { @Override protected void initStrategies(ApplicationContext context) { super.initStrategies(context); configureHandlerInterceptor(context); configureMessageEndpoint(context); } CitrusMessageDispatcherServlet(WebServiceServer webServiceServer);   }
@Test public void testNoBeansInContext() throws Exception { reset(webServiceServer); GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.refresh(); servlet.initStrategies(applicationContext); }