Bug 105034 [WorkbenchParts] IWorkbenchPage#hideView(IViewPart) does not always dispose of the view any more
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/packageview/ContentProviderTests3.java
assertTrue("Correct Refresh", fMyPart.wasObjectRefreshed(fRoot1)); 
		assertTrue("Single refreshe", fMyPart.getRefreshedObject().size() == 1); 
	}
	public void testChangedTopLevelPackageFragmentFolding() throws Exception {
		
		IElementChangedListener listener= (IElementChangedListener) fProvider;
		IJavaElementDelta delta= TestDelta.createDelta(fPack3, IJavaElementDelta.CHANGED);
		listener.elementChanged(new ElementChangedEvent(delta, ElementChangedEvent.POST_CHANGE));
		
		while(fMyPart.getTreeViewer().getControl().getDisplay().readAndDispatch()) {
		}
		
		assertEquals("No refreshs", 0, fMyPart.getRefreshedObject().size()); 
	}
	public void testChangeBottomLevelPackageFragmentFolding() throws Exception {
		
		IElementChangedListener listener= (IElementChangedListener) fProvider;
		IJavaElementDelta delta= TestDelta.createDelta(fPack6, IJavaElementDelta.CHANGED);
		listener.elementChanged(new ElementChangedEvent(delta, ElementChangedEvent.POST_CHANGE));
		
		while(fMyPart.getTreeViewer().getControl().getDisplay().readAndDispatch()) {
		}
		
		assertEquals("No refreshs",0,  fMyPart.getRefreshedObject().size()); 
	}
	
	public void testRemoveCUsFromPackageFragment() throws Exception{
		
		IElementChangedListener listener= (IElementChangedListener) fProvider;
		IJavaElementDelta delta= TestDelta.createCUDelta(new ICompilationUnit[] { fCU2, fCU3 }, fPack6, IJavaElementDelta.REMOVED);