*/
private static HttpServletRequest createRequest(final Page page)
{
Args.notNull(page, "page");
Application application = page.getApplication();
HttpSession httpSession = new MockHttpSession(null);
MockHttpServletRequest request = new MockHttpServletRequest(application, httpSession, null);
request.addParameter("pageId", page.getId());
return request;
}