void (final String newName) { myFixture.configureByFile(RENAME_DATA_PATH + getTestName(true) + ".py"); myFixture.renameElementAtCaret(newName); myFixture.checkResultByFile(RENAME_DATA_PATH + getTestName(true) + "_after.py"); }