PortletRequest extends AbstractClientRequest { public Map<String, Object> getSessionScope() { if ((sessionScope == null) && (request != null)) { sessionScope = new ScopeMap(new SessionScopeExtractor(request, PortletSession.APPLICATION_SCOPE)); } return (sessionScope); } PortletRequest(ApplicationContext applicationContext,
            PortletContext context, javax.portlet.PortletRequest request,
            PortletResponse response, RequestDelegate requestDelegate, ResponseDelegate responseDelegate); javax.portlet.PortletRequest getRequest(); PortletResponse getResponse(); PortletContext getPortletContext(); Map<String, String> getHeader(); Addable<String> getResponseHeaders(); Map<String, String[]> getHeaderValues(); Map<String, Object> getRequestScope(); Map<String, Object> getSessionScope(); Map<String, Object> getPortletSessionScope(); @Override List<String> getAvailableScopes(); Locale getRequestLocale(); @Override Map<String, String> getParam(); @Override Map<String, String[]> getParamValues(); boolean isUserInRole(String role); @Override OutputStream getOutputStream(); @Override PrintWriter getPrintWriter(); @Override Writer getWriter(); @Override boolean isResponseCommitted(); @Override void setContentType(String contentType); void doForward(String path); void doInclude(String path); @Override Map<String, Object> getContext(String scope);  }
@Test public void testGetSessionScope() { assertTrue(req.getSessionScope() instanceof ScopeMap); }