void () { myFixture.configureByFile(getTestName(false) + ".java"); PsiClass aClass = myFixture.findClass("A"); assertNotNull("Tested class not found", aClass); doTest(aClass, null, true, true, new JavaEncapsulateFieldHelper().getApplicableFields(aClass)); myFixture.checkResultByFile(getTestName(false) +"_after.java"); }