@Test
public void testLoadPerspectives() throws PlatformPluginRegistrationException {
microPlatform.init();
List<IPlatformPlugin> plugins = provider.getPlugins( new StandaloneSession() );
IPlatformPlugin plugin =
(IPlatformPlugin) CollectionUtils.find( plugins, new PluginNameMatcherPredicate( "Plugin 1" ) );
assertNotNull( "Plugin 1 should have been found", plugin );
assertEquals( 2, plugin.getPluginPerspectives().size() );
IPluginPerspective perspective = plugin.getPluginPerspectives().get( 0 );
assertEquals( perspective.getId(), "perspective1" );
assertEquals( perspective.getTitle(), "Test Perspective 1" );
assertEquals( perspective.getLayoutPriority(), 500 );
}