DeploymentsGeneralSettingsPresenter extends Section<DeploymentDescriptorModel> { void setupAuditModeSelect(final DeploymentDescriptorModel model) { view.setupAuditModeSelect(model); } @Inject  DeploymentsGeneralSettingsPresenter(final Event<SettingsSectionChange<DeploymentDescriptorModel>> settingsSectionChangeEvent,
                                               final MenuItem<DeploymentDescriptorModel> menuItem,
                                               final Promises promises,
                                               final DeploymentsGeneralSettingsView view); @PostConstruct void init(); @Override Promise<Void> setup(final DeploymentDescriptorModel model); void setPersistenceUnitName(final String persistenceUnitName); void setAuditPersistenceUnitName(final String auditPersistenceUnitName); @Override SectionView<?> getView(); @Override int currentHashCode();  }
@Test public void testSetupAuditModeSelect() { final DeploymentDescriptorModel model = new DeploymentDescriptorModel(); model.setAuditMode("JPA"); presenter.setupAuditModeSelect(model); verify(view).setupAuditModeSelect(eq(model)); }