ScenarioGridWidget extends ResizeComposite { public void unregister() { scenarioGridPanel.unregister(); }  void setScenarioGridPanel(ScenarioGridPanel scenarioGridPanel); void setContent(AbstractScesimModel abstractScesimModel, ScenarioSimulationModel.Type type); ScenarioGridPanel getScenarioGridPanel(); ScenarioSimulationContext getScenarioSimulationContext(); void refreshContent(AbstractScesimModel abstractScesimModel); void unregister(); void clearSelections(); void resetErrors(); AbstractScesimGridModel getModel(); void selectAndFocus(); void deselectAndUnFocus(); boolean isSelected(); @Override void onResize();  }
@Test public void unregister() { scenarioGridWidget.unregister(); verify(scenarioGridPanelMock, times(1)).unregister(); }