@Test
public void testNavigationHandler()
{
Page pageClass = createStrictMock(Page.class);
ActionContext actionContext = createStrictMock(TestContextImpl.class);
HttpServletRequest request = createStrictMock(HttpServletRequest.class);
expect(pageClass.getPagePath()).andReturn("page_path");
expect(actionContext.getResponse()).andReturn(null);
pageClass.setHttpServletResponse(null);
expect(actionContext.getRequest()).andReturn(request);
request.setAttribute(InfrastructureKeys.PAGE_BEAN, pageClass);
replay(pageClass);
replay(actionContext);