trainEncodeURL(
rc,
"/context/servlet?service=myservice",
"/context/servlet?service=myservice;encoded");
EngineServiceLink l = new EngineServiceLink(rc, "/context/servlet", ENCODING, _urlCodec,
request, buildParameters("myservice", null), true);
replayControls();
assertEquals("/context/servlet?service=myservice;encoded", l.getURL());
verifyControls();
assertListsEqual(new String[]
{ ServiceConstants.SERVICE, ServiceConstants.PARAMETER }, l.getParameterNames());
}