parameters.put(ServiceConstants.SERVICE, Tapestry.EXTERNAL_SERVICE);
parameters.put(ServiceConstants.PAGE, "ActivePage");
parameters.put(ServiceConstants.PARAMETER, serviceParameters);
MockControl lfc = newControl(LinkFactory.class);
LinkFactory lf = (LinkFactory) lfc.getMock();
ILink link = (ILink) newMock(ILink.class);
IRequestCycle cycle = (IRequestCycle) newMock(IRequestCycle.class);
lf.constructLink(cycle, parameters, true);
lfc.setReturnValue(link);
replayControls();
ExternalService es = new ExternalService();