@Test
public void testCommitReWrappedRequest() throws IOException  {

  HttpRequestWrapper oldRequest = mock(HttpRequestWrapper.class);
  HttpRequestWrapper request = mock(HttpRequestWrapper.class);
  when(request.getServletContext()).thenReturn(servletContext);
  SessionHelpersFacade.commitRequest(request, oldRequest, null);
  verify(request).commit();
  verify(oldRequest, never()).commit();
}