}
private void doTest(int expectedCallbacksCount, String... filesToLoad) throws Throwable {
myFixture.configureByFiles(filesToLoad);
LanguageCodeInsightActionHandler handler = CodeInsightActions.GOTO_SUPER.forLanguage(ErlangLanguage.INSTANCE);
assertNotNull("GotoSuperHandler for Erlang was not found.", handler);
PsiElement focusedElement = myFixture.getFile().findElementAt(myFixture.getEditor().getCaretModel().getOffset());
ErlangFunction function = PsiTreeUtil.getParentOfType(focusedElement, ErlangFunction.class);