Bug 123424 browsing perspective does not show some packages in hierarchical mode
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/browsing/PackagesViewContentProviderTests.java
LogicalPackage cp= new LogicalPackage(fPack31);
		cp.add(fPack32);
		cp.add(fInternalPack3);	
		
		Object parent= fProvider.getParent(fPack41);	
		assertTrue("Wrong parent found for a mid level Fragment with Root Focus", cp.equals(parent));		
	}
	
	public void testGetParentWithRootFocusAfterProjectFocus(){
		
		Object[] children= fProvider.getChildren(fJProject2);
		for (int i= 0; i < children.length; i++) {
			Object object= children[i];
			fProvider.getChildren(object);
		}
		
		LogicalPackage cp= new LogicalPackage(fPack31);
		cp.add(fPack32);
		cp.add(fInternalPack3);	
	
		
		LogicalPackage defaultCp= new LogicalPackage(fPackDefault1);
		defaultCp.add(fPackDefault2);
		defaultCp.add(fInternalPackDefault);
		
		Object[] expectedChildren= new Object[]{fPack21, fPack12, cp, defaultCp, fInternalPackMetaInf};
		
		assertTrue("expected children of project with focus", compareArrays(children, expectedChildren));