public void testGetURLIncludeParameters()
{
PortletURL url = newPortletURL();
QueryParameterMap parameters = org.easymock.classextension.EasyMock.createMock(QueryParameterMap.class);
String[] values = { "Fred", "Barney" };
expect(parameters.getParameterNames()).andReturn(new String[]{"bedrock"});
expect(parameters.getParameterValues("bedrock")).andReturn(values);
url.setParameter("bedrock", values);
replay();
org.easymock.classextension.EasyMock.replay(parameters);