PsiReference[] () { PsiElement element = myFixture.getFile().findElementAt(myFixture.getCaretOffset()); element = PsiTreeUtil.getParentOfType(element, PsiLanguageInjectionHost.class); assertNotNull(element); return InjectedReferencesContributor.getInjectedReferences(element); }