CitrusDispatcherServlet extends DispatcherServlet { @Override protected void initStrategies(ApplicationContext context) { super.initStrategies(context); configureHandlerInterceptor(context); configureMessageController(context); configureMessageConverter(context); } CitrusDispatcherServlet(HttpServer httpServer);   }
@Test public void testNoBeansInContext() throws Exception { reset(httpServer); GenericApplicationContext applicationContext = new GenericApplicationContext(); applicationContext.refresh(); servlet.initStrategies(applicationContext); }