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/ContentProviderTests2.java
fJProject3= JavaProjectHelper.createJavaProject("TestProject3", "bin"); 
		assertNotNull("project3 null", fJProject3); 
		
		Object[] resource= fJProject3.getNonJavaResources();
		for (int i = 0; i < resource.length; i++) {
			Object object = resource[i];
			if(object instanceof IFile){
				IFile file = (IFile) object;
				if(".classpath".equals(file.getName())) 
					fFile1= file;
				else if (".project".equals(file.getName())) 
					fFile2= file;
			}
		}
		assertNotNull(fFile1);
		assertNotNull(fFile2);
		
		jdk= JavaProjectHelper.addVariableRTJar(fJProject3, "JRE_LIB_TEST", null, null); 
		assertTrue("jdk not found", jdk != null); 
		
		
		fRoot1= JavaProjectHelper.addSourceContainer(fJProject3, ""); 
		assertNotNull("getting default package", fRoot1); 
		
		
		
		File myInternalLibJar= JavaTestPlugin.getDefault().getFileInPlugin(new Path("testresources/myinternallib.jar")); 
		assertTrue("lib not found", myInternalLibJar != null && myInternalLibJar.exists()); 
		fInternalRoot1= JavaProjectHelper.addLibraryWithImport(fJProject3, Path.fromOSString(myInternalLibJar.getPath()), null, null);