}
public void testGetRequestWrapper() throws Exception {
expect(servletContext.getAttribute(WebConstants.IMPALA_FACTORY_ATTRIBUTE)).andReturn(facade);
expect(facade.getBean(WebConstants.REQUEST_WRAPPER_FACTORY_BEAN_NAME)).andReturn(new IdentityHttpRequestWrapper());
replayMocks(servletContext, request, facade);
assertSame(request, ModuleIntegrationUtils.getWrappedRequest(request, servletContext, mapping, applicationId));