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