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