BusinessCentralGridContextMenu extends GridContextMenu { @PostConstruct @Override public void initMenu() { super.initMenu(); runSingleScenarioElement = addExecutableMenuItem(GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO, constants.runSingleScenario(), "runSingleScenario"); }  @PostConstruct @Override void initMenu(); @Override void show(GridWidget gridWidget, int mx, int my, int rowIndex);  }
@Test public void initMenu() { super.initMenu(businessCentralGridContextMenuSpy); verify(businessCentralGridContextMenuSpy, times(1)).addExecutableMenuItem(eq(GRIDCONTEXTMENU_RUN_SINGLE_SCENARIO), eq(ScenarioSimulationEditorConstants.INSTANCE.runSingleScenario()), eq("runSingleScenario")); }