public void testGetURLLongForm()
{
IRequestCycle cycle = newCycle();
PortletURL url = newPortletURL();
QueryParameterMap parameters = (QueryParameterMap) newMock(QueryParameterMap.class);
parameters.getParameterNames();
setReturnValue(parameters, new String[]
{ "page" });
parameters.getParameterValues("page");
String[] values = new String[]
{ "View" };
setReturnValue(parameters, values);
url.setParameter("page", values);