public void testGetModuleWithFilter() {
initParameters.put("modulePrefix", "anotherprefix");
mapper.init(new IntegrationFilterConfig(initParameters, servletContext, "filterServlet"));
expect(request.getRequestURI()).andReturn("/app/mymodule/resource.htm");
mapper.init(new IntegrationServletConfig(initParameters, servletContext, "filterServlet"));
replay(request);
assertEquals(new RequestModuleMapping("/mymodule", "anotherprefixmymodule", null, null), mapper.getModuleForRequest(request));
verify(request);
}