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