Bug 316752 Menu item renderers do not consider model selection state during widget construction
Model menu items that are selected and is supposed to be checked are not created so by the renderer because the selection state is not considered.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/MMenuItemTest.java
.createApplication();
		application.getChildren().add(window);
		application.setContext(appContext);
		appContext.set(MApplication.class.getName(), application);
		wb = new E4Workbench(window, appContext);
		wb.createAndRunUI(window);
		Object widget = menuItem.getWidget();
		assertNotNull(widget);
		assertTrue(widget instanceof MenuItem);
		MenuItem menuItemWidget = (MenuItem) widget;
		assertEquals(beforeExpected, menuItemWidget.getText());
		menuItem.setLabel(after);
		assertEquals(afterExpected, menuItemWidget.getText());
	}
	public void testMMenuItem_Text_NullNull() {
		testMMenuItem_Text(null, "", null, "");
	}
	public void testMMenuItem_Text_NullEmpty() {
		testMMenuItem_Text(null, "", "", "");
	}
	public void testMMenuItem_Text_NullString() {
		testMMenuItem_Text(null, "", "label", "label");
	}
	public void testMMenuItem_Text_EmptyNull() {
		testMMenuItem_Text("", "", null, "");
	}
	public void testMMenuItem_Text_EmptyEmpty() {
		testMMenuItem_Text("", "", "", "");
	}
	public void testMMenuItem_Text_EmptyString() {