void (final String newName) { myFixture.configureByFile("rename/" + getTestName(false) + ".json"); myFixture.renameElementAtCaret(newName); myFixture.checkResultByFile("rename/" + getTestName(false) + "_after.json"); }