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