{
IRequestCycle cycle = newCycle();
PortletURL url = newPortletURL();
MockControl control = newControl(QueryParameterMap.class);
QueryParameterMap parameters = (QueryParameterMap) control.getMock();
String[] values =
{ "Fred", "Barney" };
parameters.getParameterNames();
control.setReturnValue(new String[]
{ "bedrock" });
parameters.getParameterValues("bedrock");
control.setReturnValue(values);
url.setParameter("bedrock", values);
replayControls();