### Question:
ArchetypeManagementScreenPresenter { @WorkbenchPartTitle public String getTitle() { return ts.getTranslation(ArchetypeManagementConstants.ArchetypeManagement_ArchetypeManagementPerspectiveName); } @Inject  ArchetypeManagementScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final Event<NotificationEvent> notificationEvent,
                                              final ArchetypeTablePresenter archetypeTablePresenter,
                                              final Promises promises); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView View getView(); @OnOpen void onOpen(); @OnClose void onClose(); void onArchetypeListUpdatedEvent(@Observes final ArchetypeListUpdatedEvent event); void notifyListUpdated(final ArchetypeListOperation operation); static final String IDENTIFIER; }### Answer:
@Test public void getTitleTest() { final String title = "title"; doReturn(title).when(ts) .getTranslation(ArchetypeManagementConstants.ArchetypeManagement_ArchetypeManagementPerspectiveName); assertEquals(title, presenter.getTitle()); }