} else assertTrue("Unable to get view",false);
} else { assertTrue("Unable to get view",false); }
	public void setUpMockView() throws Exception{				fWorkbench= PlatformUI.getWorkbench();		assertNotNull(fWorkbench);				fPage= fWorkbench.getActiveWorkbenchWindow().getActivePage();		assertNotNull(fPage);				//just testing to make sure my part can be created		IViewPart myPart= new MockPluginView();		((MockPluginView)myPart).setListState(true);		myPart= fPage.showView("org.eclipse.jdt.ui.tests.browsing.MockPluginView");//$NON-NLS-1$		if (myPart instanceof MockPluginView) {			fMyPart= (MockPluginView) myPart;						fProvider= (IStructuredContentProvider)fMyPart.getTreeViewer().getContentProvider();			//create map and set listener				fProvider.inputChanged(null,null,fJProject2);			JavaCore.removeElementChangedListener((IElementChangedListener) fProvider);		} else assertTrue("Unable to get view",false);//$NON-NLS-1$			assertNotNull(fProvider);			}