void (PsiClass aClass, String ext) { String suffix = getTestName(false); myFixture.configureByFile("before" + suffix + "." + ext); new RenameProcessor(getProject(), aClass.findFieldByName("myField", false), "myField1", true, true).run(); myFixture.checkResultByFile("after" + suffix + "." + ext); }