when(req.getInputStream()).thenReturn(null);
res = mock(HttpServletResponse.class);
appProperties = mock(AppProperties.class);
injector = Guice.createInjector(
new ServletResourceModule(appProperties), new SomeModule());
ServletResourceModule.set(req, res);
routed = new RoutedRequest(null, null, parametersMap);
}