IRequestCycle cycle = (IRequestCycle) cyclec.getMock();
ClassResolver cr = (ClassResolver) newMock(ClassResolver.class);
MockControl infrac = newControl(Infrastructure.class);
Infrastructure infra = (Infrastructure) infrac.getMock();
PageRenderSupport prs = (PageRenderSupport) newMock(PageRenderSupport.class);
cycle.getInfrastructure();
cyclec.setReturnValue(infra);
infra.getClassResolver();
infrac.setReturnValue(cr);
trainGetAttribute(cyclec, cycle, TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE, prs);
return cycle;