ScenarioGridWidget extends ResizeComposite { public void clearSelections() { scenarioGridPanel.getScenarioGrid().getModel().clearSelections(); }  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 clearSelection() { scenarioGridWidget.clearSelections(); verify(scenarioGridModelMock, times(1)).clearSelections(); }