@Test
public void testDontCommitNonWrappped() throws IOException {

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