Bug 217801 [CommonNavigator] Capability filtering of commonWizard extensions uses wrong identifier
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/ProgrammaticOpenTest.java
contentService.getActivationService().activateExtensions(
				new String[] {}, true);
		viewer.refresh();
		viewer.expandAll();
		TreeItem[] items = viewer.getTree().getItems();
		assertTrue("There should be NO items.", items.length == 0); 
		contentService.getActivationService().deactivateExtensions(
				new String[] {}, true);
		viewer.expandToLevel(2);
		items = viewer.getTree().getItems();
		assertTrue("There should be some items.", items.length > 0); 
	}
	
	public void testNavigatorSorterAccess() throws Exception {
		
		INavigatorSorterService sorterService = contentService.getSorterService();
		
		INavigatorContentDescriptor testDescriptor = contentService.getContentDescriptorById(COMMON_NAVIGATOR_TEST_EXT);
		
		Map sorters = sorterService.findAvailableSorters(testDescriptor);
		
		assertEquals(3, sorters.size());
		
		for (Iterator iter = sorters.entrySet().iterator(); iter.hasNext();) {
			Map.Entry entry = (Map.Entry) iter.next();
			assertTrue(entry.getValue() instanceof TestDataSorter);			
		}
	}
}