SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void setEventBus(EventBus eventBus) { this.eventBus = eventBus; } SettingsPresenter(); @Inject  SettingsPresenter(@Named(SettingsScenarioSimulationDropdown.BEAN_NAME) SettingsScenarioSimulationDropdown settingsScenarioSimulationDropdown,
                             SettingsView view); @PostConstruct void init(); @Override void setScenarioType(ScenarioSimulationModel.Type scenarioType, Settings settings, String fileName); @Override void reset(); @Override void setEventBus(EventBus eventBus); SettingsView getView(); @Override void syncDmoSession(); @Override void syncRuleFlowGroup(); @Override void syncStateless(); @Override void syncDmnFilePath(); @Override void syncSkipFromBuild(); static final int DEFAULT_PREFERRED_WIDHT; static final String IDENTIFIER; }
@Test public void setEventBus() { settingsPresenterSpy.setEventBus(eventBusMock); assertEquals(eventBusMock, settingsPresenterSpy.eventBus); }