parameters.put(ServiceConstants.CONTAINER, "ComponentPage");
parameters.put(ServiceConstants.SESSION, null);
parameters.put(ServiceConstants.PARAMETER, serviceParameters);
MockControl lfc = newControl(LinkFactory.class);
LinkFactory lf = (LinkFactory) lfc.getMock();
ILink link = newLink();
lf.constructLink(cycle, parameters, true);
lfc.setReturnValue(link);
replayControls();
DirectService ds = new DirectService();