@Test public void testAddNewProperty() { persistencePresenter.addNewProperty(); verify(propertiesListPresenter).add(eq(new Property("", ""))); }
public void addNewProperty() { add(new Property("", "")); fireChangeEvent(); }
PersistencePresenter extends Section<ProjectScreenModel> { public void addNewProperty() { add(new Property("", "")); fireChangeEvent(); } }
PersistencePresenter extends Section<ProjectScreenModel> { public void addNewProperty() { add(new Property("", "")); fireChangeEvent(); } @Inject  PersistencePresenter(final View view,
                                final WorkspaceProjectContext projectContext,
                                final Promises promises,
                                final MenuItem<ProjectScreenModel> menuItem,
                                final Event<NotificationEvent> notificationEvent,
                                final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                final ManagedInstance<ObservablePath> observablePaths,
                                final Caller<PersistenceDescriptorEditorService> editorService,
                                final Caller<DataModelerService> dataModelerService,
                                final PropertiesListPresenter propertiesListPresenter,
                                final PersistableDataObjectsListPresenter persistableDataObjectsListPresenter); }
PersistencePresenter extends Section<ProjectScreenModel> { public void addNewProperty() { add(new Property("", "")); fireChangeEvent(); } @Inject  PersistencePresenter(final View view,
                                final WorkspaceProjectContext projectContext,
                                final Promises promises,
                                final MenuItem<ProjectScreenModel> menuItem,
                                final Event<NotificationEvent> notificationEvent,
                                final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                final ManagedInstance<ObservablePath> observablePaths,
                                final Caller<PersistenceDescriptorEditorService> editorService,
                                final Caller<DataModelerService> dataModelerService,
                                final PropertiesListPresenter propertiesListPresenter,
                                final PersistableDataObjectsListPresenter persistableDataObjectsListPresenter); @Override Promise<Void> setup(final ProjectScreenModel model); @Override Promise<Object> validate(); @Override Promise<Void> save(final String comment,
                              final Supplier<Promise<Void>> chain); void add(final String className); void add(final Property property); void addAllProjectsPersistableDataObjects(); void setDataSource(final String dataSource); void setPersistenceUnit(final String persistenceUnit); void setPersistenceProvider(final String persistenceProvider); void addNewProperty(); void addNewPersistableDataObject(); @Override int currentHashCode(); @Override SectionView<?> getView(); }
PersistencePresenter extends Section<ProjectScreenModel> { public void addNewProperty() { add(new Property("", "")); fireChangeEvent(); } @Inject  PersistencePresenter(final View view,
                                final WorkspaceProjectContext projectContext,
                                final Promises promises,
                                final MenuItem<ProjectScreenModel> menuItem,
                                final Event<NotificationEvent> notificationEvent,
                                final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                final ManagedInstance<ObservablePath> observablePaths,
                                final Caller<PersistenceDescriptorEditorService> editorService,
                                final Caller<DataModelerService> dataModelerService,
                                final PropertiesListPresenter propertiesListPresenter,
                                final PersistableDataObjectsListPresenter persistableDataObjectsListPresenter); @Override Promise<Void> setup(final ProjectScreenModel model); @Override Promise<Object> validate(); @Override Promise<Void> save(final String comment,
                              final Supplier<Promise<Void>> chain); void add(final String className); void add(final Property property); void addAllProjectsPersistableDataObjects(); void setDataSource(final String dataSource); void setPersistenceUnit(final String persistenceUnit); void setPersistenceProvider(final String persistenceProvider); void addNewProperty(); void addNewPersistableDataObject(); @Override int currentHashCode(); @Override SectionView<?> getView();  }