AbstractScenarioSimulationProducer { public EventBus getEventBus() { return eventBusProducer.getEventBus(); }  @PostConstruct void init(); EventBus getEventBus(); ScenarioSimulationView getScenarioSimulationView(); ScenarioGridWidget getScenarioBackgroundGridWidget(); ScenarioSimulationContext getScenarioSimulationContext(); void setScenarioSimulationEditorPresenter(ScenarioSimulationEditorPresenter presenter);  }
@Test public void getEventBus() { EventBus retrieved = abstractScenarioSimulationProducer.getEventBus(); assertNotNull(retrieved); assertEquals(retrieved, eventBusMock); verify(eventBusProducerMock, times(1)).getEventBus(); }