void (VariableInplaceRenameHandler handler, final String newName, CodeInsightTestFixture fixture) { PsiElement elementAtCaret = fixture.getElementAtCaret(); Editor editorForElement = openEditorFor(elementAtCaret); doInlineRename(handler, newName, editorForElement, elementAtCaret); }