replay();
ComponentEventLinkEncoder encoder = new ComponentEventLinkEncoderImpl(null, contextPathEncoder, null, request,
response, manager, optimizer, null, false);
PageRenderRequestParameters parameters = new PageRenderRequestParameters("MyPage", new EmptyEventContext());
Link link = encoder.createPageRenderLink(parameters);
assertEquals(link.toAbsoluteURI(), "MAGIC");