Bug 296356 We shouldn't create more than one e4 OSGi context per BundleContext
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/RunApplicationTest.java
PartRenderingEngine.engineURI);
									workbench
											.setWorkbenchModelURI(initialWorkbenchDefinitionInstance);
									workbench.createUIFromModel();
									workbench.run();
								} catch (ThreadDeath th) {
									throw th;
								} catch (Exception ex) {
									ex.printStackTrace();
								} catch (Error err) {
									err.printStackTrace();
								}
							}
						});
			}
		};
		new Thread(app).start();
	}
	public void testSampleLookup() throws Exception {
		launchApplication("org.eclipse.e4.ui.tests/xmi/CommandLookup.xmi");
		Thread.sleep(1000);
		display.syncExec(new Runnable() {
			public void run() {
				System.err.println(applicationContext
						.get(IContextConstants.DEBUG_STRING));
			}
		});
	}
}