expect(cycle.getAttribute(TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE)).andReturn(null);
cycle.setAttribute(eq(TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE), isA(PageRenderSupport.class));
cycle.renderPage(builder);
// only done to simulate a caught internal stale link / other exception that would cause a new renderPage() request
expectLastCall().andThrow(new RedirectException("redir"));
cycle.renderPage(builder);
cycle.removeAttribute(TapestryUtils.PAGE_RENDER_SUPPORT_ATTRIBUTE);
replay();