request.setParameter("STRING_PARAM", "STRING_VALUE");
request.setParameter("INTEGER_PARAM", "31337");
pageContext.setAttribute(PortletRequestHelper.JAVAX_PORTLET_REQUEST, request);
pageContext.setAttribute(PortletRequestHelper.JAVAX_PORTLET_RESPONSE, new MockRenderResponse());
final PortletRequestHelper helper = new PortletRequestHelper(pageContext);
final String strVal = helper.getParameter("STRING_PARAM");
Assert.assertEquals("STRING_VALUE", strVal);