response = mock(MutableResponse.class);
FilterChain chain = mock(FilterChain.class);
VRaptorRequestHolder.setRequestForCurrentThread(new RequestInfo(servletContext, chain, request, response));
RequestContextHolder.setRequestAttributes(new ServletRequestAttributes(request));
BasicConfiguration config = new BasicConfiguration(servletContext);
container = new SpringBasedContainer(new DefaultSpringLocator().getApplicationContext(servletContext));
new WebAppBootstrapFactory().create(config).configure(container);
container.start(servletContext);
}