void (@NotNull final RefactoringActionHandler handler) { final Editor editor = myFixture.getEditor(); assertInstanceOf(editor, EditorEx.class); handler.invoke(myFixture.getProject(), editor, myFixture.getFile(), ((EditorEx)editor).getDataContext()); }