Bug 217801 [CommonNavigator] Capability filtering of commonWizard extensions uses wrong identifier
tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/PipelineTest.java
TreeItem[] projectChildren = rootItems[0].getItems(); 
		assertTrue("There should be some items.", projectChildren.length > 0); 
		 
		for (int i = 0; i < projectChildren.length; i++) {
			if(projectChildren[i].getData() == sourceFolder)
				fail("The src folder should not be added as an IFolder.");			
		}
		
		
		IProject newProject = ResourcesPlugin.getWorkspace().getRoot().getProject("New Project");
		viewer.add(viewer.getInput(), newProject);
		
		rootItems = viewer.getTree().getItems();
		
		assertEquals("There should be two items.", 2, rootItems.length); 
		
		boolean found = false;
		for (int i = 0; i < rootItems.length && !found; i++) {
			if(rootItems[i].getData() instanceof IProject) {
				IProject newProjectFromTree = (IProject) rootItems[i].getData();
				if(newProject.equals(newProjectFromTree))
					found = true;
			}	
		}
		assertTrue(found);
		
	}
 
}