void () { CodeInsightSettings.getInstance().setSelectAutopopupSuggestionsByChars(true); myFixture.configureByText("Test.java", """ public class Test { public static void main(final String[] args) { Test test = new Test(); Test test2 = new Test(); tes<caret> } }"""); myFixture.completeBasic(); myFixture.type('='); myFixture.checkResult(""" public class Test { public static void main(final String[] args) { Test test = new Test(); Test test2 = new Test(); test = <caret> } }"""); }