mockPortalCallback = mock( PortalCallbackService.class );
mockServices = mock( RequiredContainerServices.class );
mockContainer = mock( PortletContainerImpl.class,
new Class[] { String.class, RequiredContainerServices.class, OptionalContainerServices.class },
new Object[] { "Mock Pluto Container", (RequiredContainerServices) mockServices.proxy(), null } );
InternalPortletWindow window = (InternalPortletWindow) mock( InternalPortletWindow.class ).proxy();
HttpServletRequest req = (HttpServletRequest) mock( HttpServletRequest.class ).proxy();
// Create Spring mock objects (we need functional HttpServletResponse for encodeURL)
HttpServletResponse mockHttpServletResponse = new MockHttpServletResponse();