@Test public void validateTest() { presenter.validate(); verify(view).hideError(); verify(promises).resolve(); }
@Override public Promise<Object> validate() { view.hideError(); return promises.resolve(); }
BranchManagementPresenter extends Section<ProjectScreenModel> { @Override public Promise<Object> validate() { view.hideError(); return promises.resolve(); } }
BranchManagementPresenter extends Section<ProjectScreenModel> { @Override public Promise<Object> validate() { view.hideError(); return promises.resolve(); } @Inject  BranchManagementPresenter(final View view,
                                     final Promises promises,
                                     final MenuItem<ProjectScreenModel> menuItem,
                                     final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                     final Caller<LibraryService> libraryService,
                                     final LibraryPlaces libraryPlaces,
                                     final RoleAccessListPresenter roleAccessListPresenter,
                                     final ProjectController projectController); }
BranchManagementPresenter extends Section<ProjectScreenModel> { @Override public Promise<Object> validate() { view.hideError(); return promises.resolve(); } @Inject  BranchManagementPresenter(final View view,
                                     final Promises promises,
                                     final MenuItem<ProjectScreenModel> menuItem,
                                     final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                     final Caller<LibraryService> libraryService,
                                     final LibraryPlaces libraryPlaces,
                                     final RoleAccessListPresenter roleAccessListPresenter,
                                     final ProjectController projectController); @Override Promise<Void> setup(final ProjectScreenModel model); @Override Promise<Object> validate(); @Override Promise<Void> save(final String comment,
                              final Supplier<Promise<Void>> chain); @Override int currentHashCode(); @Override SectionView<?> getView(); }
BranchManagementPresenter extends Section<ProjectScreenModel> { @Override public Promise<Object> validate() { view.hideError(); return promises.resolve(); } @Inject  BranchManagementPresenter(final View view,
                                     final Promises promises,
                                     final MenuItem<ProjectScreenModel> menuItem,
                                     final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                     final Caller<LibraryService> libraryService,
                                     final LibraryPlaces libraryPlaces,
                                     final RoleAccessListPresenter roleAccessListPresenter,
                                     final ProjectController projectController); @Override Promise<Void> setup(final ProjectScreenModel model); @Override Promise<Object> validate(); @Override Promise<Void> save(final String comment,
                              final Supplier<Promise<Void>> chain); @Override int currentHashCode(); @Override SectionView<?> getView();  }