@Test
public void testPrepareRequestNotInitializedFilter() {

  ServletRequest request = mock(HttpServletRequest.class);
  when(request.getServletContext()).thenReturn(servletContext);
  ServletResponse response = mock(HttpServletResponse.class);
  ServletRequest result = SessionHelpersFacade.prepareRequest(request, response, null);
  assertNotNull(result);
  assertNotSame(request, result);
  assertTrue(result instanceof HttpRequestWrapper);
  verify(request).setAttribute(eq(SessionHelpers.REQUEST_WRAPPED_ATTRIBUTE), refEq(result));
}