when(context.getAttribute("container")).thenReturn(container);
when(container.instanceFor(RequestExecution.class)).thenReturn(execution);
when(container.instanceFor(StaticContentHandler.class)).thenReturn(new DefaultStaticContentHandler(context));
when(container.instanceFor(EncodingHandler.class)).thenReturn(new NullEncodingHandler());
VRaptor vraptor = new VRaptor();
vraptor.init(this.config);
vraptor.doFilter(request, response, null);