final MockHttpServletRequest request = new MockHttpServletRequest();
request.setAttribute(PortletHttpServletRequestWrapper.ATTRIBUTE__HTTP_SERVLET_REQUEST, request);
request.setContextPath("/uPortal");
final IPortalRequestUtils portalRequestUtils = createMock(IPortalRequestUtils.class);
expect(portalRequestUtils.getOriginalPortletAdaptorRequest(request)).andReturn(request);
portletUrlSyntaxProvider.setPortalRequestUtils(portalRequestUtils);
final IPortletEntityId portletEntityId1 = new MockPortletEntityId("eId1");
final IPortletWindowId portletWindowId1 = new MockPortletWindowId("wId1");