@Test public void getBackgroundGridWidget() { ScenarioGridWidget retrieved = scenarioGridPanelProducer.getBackgroundGridWidget(eventBusMock); assertEquals(backgroundGridWidgetSpy, retrieved); verify(scenarioGridPanelProducer, times(1)).initGridWidget(eq(backgroundGridWidgetSpy), eq(backgroundGridPanelMock), eq(clickHandlerMock), eq(mouseMoveHandlerMock), eq(eventBusMock)); }
public ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus) { initGridWidget(backgroundGridWidget, getBackgroundGridPanel(), backgroundGridPanelClickHandler, backgroundGridPanelMouseMoveHandler, eventBus); return backgroundGridWidget; }
ScenarioGridPanelProducer { public ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus) { initGridWidget(backgroundGridWidget, getBackgroundGridPanel(), backgroundGridPanelClickHandler, backgroundGridPanelMouseMoveHandler, eventBus); return backgroundGridWidget; } }
ScenarioGridPanelProducer { public ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus) { initGridWidget(backgroundGridWidget, getBackgroundGridPanel(), backgroundGridPanelClickHandler, backgroundGridPanelMouseMoveHandler, eventBus); return backgroundGridWidget; }  }
ScenarioGridPanelProducer { public ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus) { initGridWidget(backgroundGridWidget, getBackgroundGridPanel(), backgroundGridPanelClickHandler, backgroundGridPanelMouseMoveHandler, eventBus); return backgroundGridWidget; }  @PostConstruct void init(); ScenarioSimulationContext getScenarioSimulationContext(); ScenarioGridPanel getSimulationGridPanel(); ScenarioGridPanel getBackgroundGridPanel(); ScenarioContextMenuRegistry getScenarioContextMenuRegistry(); ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus); ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus); }
ScenarioGridPanelProducer { public ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus) { initGridWidget(backgroundGridWidget, getBackgroundGridPanel(), backgroundGridPanelClickHandler, backgroundGridPanelMouseMoveHandler, eventBus); return backgroundGridWidget; }  @PostConstruct void init(); ScenarioSimulationContext getScenarioSimulationContext(); ScenarioGridPanel getSimulationGridPanel(); ScenarioGridPanel getBackgroundGridPanel(); ScenarioContextMenuRegistry getScenarioContextMenuRegistry(); ScenarioSimulationView getScenarioSimulationView(final EventBus eventBus); ScenarioGridWidget getBackgroundGridWidget(final EventBus eventBus);  }