void () { configureJava("class C { void some(int a) {} void some(int a, int b) {} void m() { s<caret> } }"); complete("some(int a)"); type('1'); AutoPopupParameterInfoTestUtil.waitForAutoPopup(myFixture.getProject()); showParameterInfo(); methodOverloadDown(); checkResultWithInlays("class C { void some(int a) {} void some(int a, int b) {} void m() { some(<Hint text=\"a:\"/>1, <HINT text=\"b:\"/><caret>); } }"); EditorTestUtil.testUndoInEditor(getEditor(), () -> { myFixture.performEditorAction(IdeActions.ACTION_UNDO); waitForAllAsyncStuff(); myFixture.performEditorAction(IdeActions.ACTION_REDO); waitForAllAsyncStuff(); }); checkResultWithInlays("class C { void some(int a) {} void some(int a, int b) {} void m() { some(<Hint text=\"a:\"/>1, <HINT text=\"b:\"/><caret>); } }"); }