PortletRequestDelegate implements RequestDelegate { public Map<String, String> getParam() { if ((param == null) && (request != null)) { param = new ReadOnlyEnumerationMap<String>(new ParameterExtractor(request)); } return (param); } PortletRequestDelegate(PortletRequest request); Map<String, String> getParam(); Map<String, String[]> getParamValues();  }
@Test public void testGetParam() { replay(request); assertTrue(delegate.getParam() instanceof ReadOnlyEnumerationMap); verify(request); }