@Test public void getScenarioSimulationView() { final ScenarioSimulationView retrieved = scenarioGridPanelProducer.getScenarioSimulationView(eventBusMock); assertEquals(scenarioSimulationViewMock, retrieved); verify(scenarioGridPanelProducer, times(1)).getScenarioMainGridWidget(eq(eventBusMock)); verify(scenarioSimulationViewMock, times(1)).setScenarioGridWidget(scenarioGridWidgetSpy); }
public ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus) { scenarioSimulationView.setScenarioGridWidget(getScenarioMainGridWidget(eventBus)); return scenarioSimulationView; }
ScenarioGridPanelProducer { public ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus) { scenarioSimulationView.setScenarioGridWidget(getScenarioMainGridWidget(eventBus)); return scenarioSimulationView; } }
ScenarioGridPanelProducer { public ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus) { scenarioSimulationView.setScenarioGridWidget(getScenarioMainGridWidget(eventBus)); return scenarioSimulationView; }  }
ScenarioGridPanelProducer { public ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus) { scenarioSimulationView.setScenarioGridWidget(getScenarioMainGridWidget(eventBus)); return scenarioSimulationView; }  @PostConstruct void init(); ScenarioSimulationContext getScenarioSimulationContext(); ScenarioGridPanel getSimulationGridPanel(); ScenarioGridPanel getBackgroundGridPanel(); ScenarioContextMenuRegistry getScenarioContextMenuRegistry(); ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus); ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus); }
ScenarioGridPanelProducer { public ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus) { scenarioSimulationView.setScenarioGridWidget(getScenarioMainGridWidget(eventBus)); return scenarioSimulationView; }  @PostConstruct void init(); ScenarioSimulationContext getScenarioSimulationContext(); ScenarioGridPanel getSimulationGridPanel(); ScenarioGridPanel getBackgroundGridPanel(); ScenarioContextMenuRegistry getScenarioContextMenuRegistry(); ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus); ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus);  }