SettingsViewImpl extends Composite implements SettingsView { @EventHandler("stateless") public void syncStateless(ChangeEvent event) { presenter.syncStateless(); }  @Override void init(Presenter presenter); @Override void setupDropdown(final Element dropdownElement); @Override Presenter getPresenter(); @Override void reset(); @Override LabelElement getNameLabel(); @Override InputElement getFileName(); @Override LabelElement getTypeLabel(); @Override SpanElement getScenarioType(); @Override DivElement getRuleSettings(); @Override InputElement getDmoSession(); @Override InputElement getRuleFlowGroup(); @Override DivElement getDmnSettings(); @Override LabelElement getDmnFileLabel(); @Override DivElement getDmnFilePathPlaceholder(); @Override SpanElement getDmnFilePathErrorLabel(); @Override LabelElement getDmnNamespaceLabel(); @Override InputElement getDmnNamespace(); @Override LabelElement getDmnNameLabel(); @Override InputElement getDmnName(); @Override InputElement getSkipFromBuild(); @Override SpanElement getSkipFromBuildLabel(); @Override InputElement getStateless(); @EventHandler("dmoSession") void syncDmoSession(BlurEvent event); @EventHandler("ruleFlowGroup") void syncRuleFlowGroup(BlurEvent event); @EventHandler("stateless") void syncStateless(ChangeEvent event); @EventHandler("skipFromBuild") void syncSkipFromBuild(ChangeEvent event);  }
@Test public void syncStateless() { settingsViewSpy.syncStateless(changeEventMock); verify(settingsPresenterMock, times(1)).syncStateless(); }