### Question:
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);  }### Answer:
@Test public void initializeCustomPreferencesTest() { archetypePreferencesManager.initializeCustomPreferences(); verify(archetypePreferencesManager, times(3)).initializeCustomPreference(anyString()); }