void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); PsiReferenceList list = aClass.getImplementsList(); PsiClassType[] refs = list.getReferencedTypes(); assertEquals(1, refs.length); assertEquals("Runnable", refs[0].getPresentableText()); teardownLoadingFilter(); }