catch (IllegalArgumentException iae) {
}
final IPortletWindowRegistry portletWindowRegistry = createMock(IPortletWindowRegistry.class);
final IUserInstanceManager userInstanceManager = createMock(IUserInstanceManager.class);
final IUserInstance userInstance = createMock(IUserInstance.class);
final IUserPreferencesManager userPreferencesManager = createMock(IUserPreferencesManager.class);
final IUserLayoutManager userLayoutManager = createMock(IUserLayoutManager.class);
final IUserLayoutChannelDescription userLayoutChannelDescription = createMock(IUserLayoutChannelDescription.class);
final IPortletDefinitionRegistry portletDefinitionRegistry = createMock(IPortletDefinitionRegistry.class);
final IPortletDefinition portletDefinition = createMock(IPortletDefinition.class);
final IChannelDefinition channelDefinition = createMock(IChannelDefinition.class);
final IPerson person = createMock(IPerson.class);
final IPortletEntityRegistry portletEntityRegistry = createMock(IPortletEntityRegistry.class);
final IPortletEntity portletEntity = createMock(IPortletEntity.class);
final IPortletWindow portletWindow = createMock(IPortletWindow.class);
final MockPortletDefinitionId portletDefinitionId = new MockPortletDefinitionId("42");
final MockPortletEntityId portletEntityId = new MockPortletEntityId("subId1");
final MockPortletWindowId portletWindowId = new MockPortletWindowId("windowId1");
expect(userInstanceManager.getUserInstance(request)).andReturn(userInstance);
expect(userInstance.getPreferencesManager()).andReturn(userPreferencesManager);
expect(userPreferencesManager.getUserLayoutManager()).andReturn(userLayoutManager);
expect(userLayoutManager.getSubscribeId("my-info-student-center-home")).andReturn("subId1");
expect(userLayoutManager.getNode("subId1")).andReturn(userLayoutChannelDescription);
expect(userLayoutChannelDescription.getChannelPublishId()).andReturn("42");