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/browsing/PackagesViewDeltaTests.java
assertEquals("Correct number of refreshes", 1, fMyPart.getRefreshedObject().size());
	}
	
	public void testAddBottomLevelFragmentNotLogicalPackage() throws Exception {
		
		LogicalPackage cp3= new LogicalPackage(fPack31);
		cp3.add(fPack32);
		cp3.add(fInternalPack3);
		
		fMyPart.fViewer.setInput(fJProject);
		fProvider.getChildren(cp3);
		fMyPart.clear();
		IPackageFragment test= fRoot1.createPackageFragment("pack3.pack5.test", true, null); 
		IElementChangedListener listener= (IElementChangedListener) fProvider;
		IJavaElementDelta delta= new TestDelta(IJavaElementDelta.ADDED, test);
		listener.elementChanged(new ElementChangedEvent(delta, ElementChangedEvent.POST_CHANGE));
		
		pushDisplay();
		
		assertTrue("Add happened", fMyPart.hasAddHappened()); 
		assertTrue("Corrent package added", fMyPart.getAddedObject().contains(test)); 
	}
	/*
	 * @see TestCase#setUp()
	 */
	protected void setUp() throws Exception {
		super.setUp();
		fWorkspace= ResourcesPlugin.getWorkspace();
		assertNotNull(fWorkspace);