@Test
public void testPrepareResponse() {

  ServletResponse response = mock(ServletResponse.class);
  HttpResponseWrapper responseWrapped = mock(HttpResponseWrapper.class);
  HttpRequestWrapper request = mock(HttpRequestWrapper.class);
  when(request.getServletContext()).thenReturn(servletContext);
  when(request.getResponse()).thenReturn(responseWrapped);
  ServletResponse result = SessionHelpersFacade.prepareResponse(request , response, null);
  assertSame(responseWrapped, result);
}