Bug 299529 UI scheduling strategy causes injections to be delayed
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/ESelectionServiceTest.java
UseSelectionHandler handler = new UseSelectionHandler();
		assertNull(handler.selection);
		ContextInjectionFactory.invoke(handler, "execute", applicationContext,
				null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", windowContext, null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", partContextA, null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", partContextB, null);
		assertNull(handler.selection);
		EPartService partService = (EPartService) windowContext
				.get(EPartService.class.getName());
		partService.activate(partB);
		ContextInjectionFactory.invoke(handler, "execute", applicationContext,
				null);
		assertNull(handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", windowContext, null);
		assertNull(handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", partContextA, null);
		assertEquals(selection, handler.selection);
		handler.selection = null;
		ContextInjectionFactory.invoke(handler, "execute", partContextB, null);
		assertNull(handler.selection);
	}