void () { final PsiClass baseClass = myJavaFacade.findClass("pack.Base", GlobalSearchScope.moduleScope(myModule)); assertNotNull(baseClass); final PsiMethod method = baseClass.getMethods()[0]; PsiMethod[] overriders = OverridingMethodsSearch.search(method, GlobalSearchScope.moduleScope(myModule), true).toArray(PsiMethod.EMPTY_ARRAY); assertEquals(1, overriders.length); }