void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); assertEquals("method1", aClass.getMethods()[0].getName()); teardownLoadingFilter(); }