@Test public void testArtifactId() { generalSettingsPresenter.pom = pom; generalSettingsPresenter.setArtifactId("ArtifactId"); Assert.assertEquals("ArtifactId", pom.getGav().getArtifactId()); verify(generalSettingsPresenter).fireChangeEvent(); }
void setArtifactId(final String artifactId) { pom.getGav().setArtifactId(artifactId); fireChangeEvent(); }
GeneralSettingsPresenter extends Section<ProjectScreenModel> { void setArtifactId(final String artifactId) { pom.getGav().setArtifactId(artifactId); fireChangeEvent(); } }
GeneralSettingsPresenter extends Section<ProjectScreenModel> { void setArtifactId(final String artifactId) { pom.getGav().setArtifactId(artifactId); fireChangeEvent(); } @Inject  GeneralSettingsPresenter(final View view,
                                    final Promises promises,
                                    final MenuItem<ProjectScreenModel> menuItem,
                                    final Caller<ValidationService> validationService,
                                    final Caller<WorkspaceProjectService> projectService,
                                    final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                    final GAVPreferences gavPreferences,
                                    final ProjectScopedResolutionStrategySupplier projectScopedResolutionStrategySupplier,
                                    final GitUrlsPresenter gitUrlsPresenter,
                                    final LibraryPlaces libraryPlaces); }
GeneralSettingsPresenter extends Section<ProjectScreenModel> { void setArtifactId(final String artifactId) { pom.getGav().setArtifactId(artifactId); fireChangeEvent(); } @Inject  GeneralSettingsPresenter(final View view,
                                    final Promises promises,
                                    final MenuItem<ProjectScreenModel> menuItem,
                                    final Caller<ValidationService> validationService,
                                    final Caller<WorkspaceProjectService> projectService,
                                    final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                    final GAVPreferences gavPreferences,
                                    final ProjectScopedResolutionStrategySupplier projectScopedResolutionStrategySupplier,
                                    final GitUrlsPresenter gitUrlsPresenter,
                                    final LibraryPlaces libraryPlaces); @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(); GitUrlsPresenter getGitUrlsPresenter(); @Override SectionView<?> getView(); }
GeneralSettingsPresenter extends Section<ProjectScreenModel> { void setArtifactId(final String artifactId) { pom.getGav().setArtifactId(artifactId); fireChangeEvent(); } @Inject  GeneralSettingsPresenter(final View view,
                                    final Promises promises,
                                    final MenuItem<ProjectScreenModel> menuItem,
                                    final Caller<ValidationService> validationService,
                                    final Caller<WorkspaceProjectService> projectService,
                                    final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                                    final GAVPreferences gavPreferences,
                                    final ProjectScopedResolutionStrategySupplier projectScopedResolutionStrategySupplier,
                                    final GitUrlsPresenter gitUrlsPresenter,
                                    final LibraryPlaces libraryPlaces); @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(); GitUrlsPresenter getGitUrlsPresenter(); @Override SectionView<?> getView();  }