### Question:
SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public Promise<Void> makeDefaultValue(final String alias, final boolean updateList) { if (canMakeChanges() && !alias.equals(archetypePreferences.getDefaultSelection())) { archetypePreferences.setDefaultSelection(alias); if (updateList) { updateList(); } super.runOnChangedCallback(); } return promises.resolve(); } @Inject  SpaceArchetypeTablePresenter(final View view,
                                        final ArchetypeListPresenter archetypeListPresenter,
                                        final BusyIndicatorView busyIndicatorView,
                                        final TranslationService ts,
                                        final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                        final ArchetypePreferences archetypePreferences,
                                        final Caller<ArchetypeService> archetypeService,
                                        final PreferenceScopeFactory preferenceScopeFactory,
                                        final Promises promises,
                                        final SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController); @Override Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList); @Override Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList); @Override ArchetypeTableConfiguration initConfiguration(); @Override boolean canMakeChanges(); @Override Promise<Void> savePreferences(final boolean updateList);  }### Answer:
@Test public void makeDefaultValueTest() { doReturn(true).when(presenter).canMakeChanges(); presenter.makeDefaultValue("alias", false); verify(archetypePreferences).setDefaultSelection("alias"); }