void (final String fieldName, final String className, final String conflicts) { myFixture.configureByFile(getTestName(false) + ".java"); PsiClass aClass = myFixture.findClass(className); assertNotNull("Tested class not found", aClass); doTest(aClass, conflicts, true, true, aClass.findFieldByName(fieldName, false)); myFixture.checkResultByFile(getTestName(false) +"_after.java"); }