Bug 291934 Sash tests failing over part renderer call
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/RenderingTestCase.java
appContext = null;
		renderer = null;
		if (topWidget != null) {
			if (!topWidget.isDisposed())
				topWidget.dispose();
			
			
			topWidget = null;
		}
		System.out.println("  time: "
				+ (System.currentTimeMillis() - startTime) + "ms");
	}
	protected void processEventLoop() {
		if (display != null) {
			while (display.readAndDispatch())
				;
		}
	}
	protected Widget createModel(final MPart modelRoot) {
		final Widget[] renderedObject = new Widget[1];
		renderedObject[0] = null;
		Realm.runWithDefault(SWTObservables.getRealm(display), new Runnable() {
			public void run() {
				
				SWTResult expectedResults = createSWTResultTree(modelRoot);
				Workbench.initializeContext(appContext, modelRoot);
				Object o = renderer.createGui(modelRoot);
				assertTrue("No widget rendered for: " + modelRoot.toString(),
						o != null);