callback.configure(new MockRequest(servletRequest));
servletRequest.setDefaultHeaders();
MockHttpServletResponse servletResponse = new MockHttpServletResponse(servletRequest);
final WebRequest request = VisibilityHelper.newWebRequest(webApplication, servletRequest);
final WebResponse response = VisibilityHelper.newWebResponse(webApplication, servletResponse);
requestCycle = (WebRequestCycle) webApplication.newRequestCycle(request, response);
Session.findOrCreate(request, response);
}