DeploymentsGeneralSettingsPresenter extends Section<DeploymentDescriptorModel> { @Override public Promise<Void> setup(final DeploymentDescriptorModel model) { this.model = model; setupRuntimeStrategiesSelect(model); view.setPersistenceUnitName(model.getPersistenceUnitName()); setupPersistenceModesSelect(model); view.setAuditPersistenceUnitName(model.getAuditPersistenceUnitName()); setupAuditModeSelect(model); return promises.resolve(); } @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 testSetup() { }