@Test public void initializeCustomPreferencesTest() { archetypePreferencesManager.initializeCustomPreferences(); verify(archetypePreferencesManager, times(3)).initializeCustomPreference(anyString()); }
public void initializeCustomPreferences() { getOuIdentifiers().forEach(this::initializeCustomPreference); }
ArchetypePreferencesManager { public void initializeCustomPreferences() { getOuIdentifiers().forEach(this::initializeCustomPreference); } }
ArchetypePreferencesManager { public void initializeCustomPreferences() { getOuIdentifiers().forEach(this::initializeCustomPreference); } ArchetypePreferencesManager(); @Inject  ArchetypePreferencesManager(final PreferenceScopeFactory scopeFactory,
                                       final WorkbenchPreferenceScopeResolutionStrategies workbenchPreferenceScopeResolutionStrategies,
                                       final ArchetypePreferences archetypePreferences,
                                       final OrganizationalUnitService ouService); }
ArchetypePreferencesManager { public void initializeCustomPreferences() { getOuIdentifiers().forEach(this::initializeCustomPreference); } ArchetypePreferencesManager(); @Inject  ArchetypePreferencesManager(final PreferenceScopeFactory scopeFactory,
                                       final WorkbenchPreferenceScopeResolutionStrategies workbenchPreferenceScopeResolutionStrategies,
                                       final ArchetypePreferences archetypePreferences,
                                       final OrganizationalUnitService ouService); void addArchetype(final String archetype); void removeArchetype(final String archetype); void setDefaultArchetype(final String archetype); void initializeCustomPreferences(); void initializeCustomPreference(final String identifier); void enableArchetype(final String archetype,
                                final boolean isEnabled,
                                final boolean customIncluded); }
ArchetypePreferencesManager { public void initializeCustomPreferences() { getOuIdentifiers().forEach(this::initializeCustomPreference); } ArchetypePreferencesManager(); @Inject  ArchetypePreferencesManager(final PreferenceScopeFactory scopeFactory,
                                       final WorkbenchPreferenceScopeResolutionStrategies workbenchPreferenceScopeResolutionStrategies,
                                       final ArchetypePreferences archetypePreferences,
                                       final OrganizationalUnitService ouService); void addArchetype(final String archetype); void removeArchetype(final String archetype); void setDefaultArchetype(final String archetype); void initializeCustomPreferences(); void initializeCustomPreference(final String identifier); void enableArchetype(final String archetype,
                                final boolean isEnabled,
                                final boolean customIncluded);  }