SSHKeysEditorScreen { @WorkbenchPartTitle public String getTitle() { return translationService.getTranslation(AppformerSSHConstants.SSHKeysEditorScreenTitle); } @Inject  SSHKeysEditorScreen(SSHKeysEditor editor, TranslationService translationService); @OnOpen void onOpen(); @WorkbenchPartView IsElement getView(); @WorkbenchPartTitle String getTitle(); static final String SCREEN_ID; }
@Test public void testGetTitle() { screen.getTitle(); verify(translationService).getTranslation(AppformerSSHConstants.SSHKeysEditorScreenTitle); }