Bug 311721 Cleanup context strategy
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/HeadlessStartupTest.java
protected IEclipseContext applicationContext;
	@Override
	protected void setUp() throws Exception {
		applicationContext = createApplicationContext();
		super.setUp();
	}
	@Override
	protected void tearDown() throws Exception {
		super.tearDown();
		applicationContext.dispose();
		
		
		
	}
	private IEclipseContext createOSGiContext() {
		osgiContext = EclipseContextFactory.getServiceContext(Activator
				.getDefault().getBundle().getBundleContext());
		return osgiContext;
	}
	private IEclipseContext createApplicationContext() {
		return createApplicationContext(createOSGiContext());
	}
	protected ISchedulerStrategy getApplicationSchedulerStrategy() {
		return null;
	}
	protected IEclipseContext createApplicationContext(
			IEclipseContext osgiContext) {
		assertNotNull(osgiContext);
		final IEclipseContext appContext = osgiContext
				.createChild("Application Context");