expect(mockPortalPortletUrl.getPortletMode()).andReturn(PortletMode.VIEW);
expect(mockPortalPortletUrl.getPortalParameters()).andReturn(new HashMap<String, List<String>>());
expect(mockPortalPortletUrl.getPortletParameters()).andReturn(new HashMap<String, List<String>>());
replay(mockPortalPortletUrl);
IPortletWindowId mockPortletWindowId = createMock(IPortletWindowId.class);
expect(mockPortletWindowId.getStringId()).andReturn("target");
replay(mockPortletWindowId);
ProviderSetupDetails details = new ProviderSetupDetails();
details.setChannelFName("weather");
details.setChannelId("31");