void () { configureByFile(getBasePath() + "SiblingInheritanceAndGenerics.java"); AnAction action = ActionManager.getInstance().getAction(IdeActions.ACTION_GOTO_SUPER); AnActionEvent event = AnActionEvent.createFromAnAction(action, null, "", DataManager.getInstance().getDataContextFromFocus().getResultSync()); action.update(event); assertTrue(event.getPresentation().isEnabledAndVisible()); action.actionPerformed(event); checkResultByFile(getBasePath() + "SiblingInheritanceAndGenerics.after.java"); }