void (@NonNls String newName, @NonNls String ext) { String suffix = getTestName(false); configureByFile("/refactoring/renameField/before" + suffix + "." + ext); perform(newName); checkResultByFile("/refactoring/renameField/after" + suffix + "." + ext); }