void (Project project, Editor editor) { PsiLocalVariable element = getTarget(editor); new InlineLocalHandler().inlineElement(project, editor, element); PlatformTestUtil.dispatchAllEventsInIdeEventQueue(); }