private void doTest(String newName) {
boolean b = RefactoringSettings.getInstance().RENAME_SEARCH_IN_COMMENTS_FOR_FILE;
try {
myFixture.configureByFile(getTestName(true) + ".feature");
CodeInsightTestUtil.doInlineRename(new GherkinInplaceRenameHandler(), newName, myFixture);
myFixture.checkResultByFile(getTestName(true) + "_after.feature");
}
finally {
RefactoringSettings.getInstance().RENAME_SEARCH_IN_COMMENTS_FOR_FILE = b;
}