}
public void test_Service() throws Exception
{
IRequestCycle cycle = newCycle();
IExternalPage page = newMock(IExternalPage.class);
Object[] parameters = new Object[0];
LinkFactory lf = newLinkFactory();
ResponseRenderer rr = newResponseRenderer();
trainGetParameter(cycle, ServiceConstants.PAGE, "ActivePage");
trainGetPage(cycle, "ActivePage", page);
trainExtractListenerParameters(lf, cycle, parameters);
cycle.setListenerParameters(parameters);
cycle.activate(page);
page.activateExternalPage(parameters, cycle);
rr.renderResponse(cycle);
replay();