SettingsPresenter extends AbstractSubDockPresenter<SettingsView> implements SettingsView.Presenter { @Override public void syncStateless() { settings.setStateless(view.getStateless().isChecked()); } 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 syncStateless() { settingsPresenterSpy.syncStateless(); verify(settingsSpy, times(1)).setStateless(eq(STATELESS)); }