{
super.onAfterRender();
RequestCycle cycle = getRequestCycle();
IPageRequestHandler firstHandler = PageRequestHandlerTracker.getFirstHandler(cycle);
assertEquals(PageA.class, firstHandler.getPageClass());
IPageRequestHandler lastHandler = PageRequestHandlerTracker.getLastHandler(cycle);
assertEquals(PageB.class, lastHandler.getPageClass());
}