Bug 280846 [UI][CSS] Null styling engine required in main context for tests to run
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/Workbench.java
}
			}
		}
		return null;
	}
	private void init() {
		
		workbenchContext.set(MApplication.class.getName(), workbench);
		workbench.setContext(workbenchContext);
		
		System.err.println("workbench init commands"); 
		ECommandService cs = (ECommandService) workbenchContext
				.get(ECommandService.class.getName());
		Category cat = cs.getCategory(MApplication.class.getName());
		cat.define("Application Category", null); 
		EList<MCommand> commands = workbench.getCommand();
		for (MCommand cmd : commands) {
			String id = cmd.getId();
			String name = cmd.getName();
			Command command = cs.getCommand(id);
			command.define(name, null, cat);
		}
		
		for (MWindow window : (EList<? extends MWindow>) workbench.getWindows()) {
			initializeContext(workbenchContext, window);
		}
		workbench.eAdapters().add(new AdapterImpl() {
			@Override
			public void notifyChanged(Notification msg) {
				if (ApplicationPackage.Literals.MAPPLICATION__WINDOWS.equals(msg.getFeature())