void () { ((AdvancedSettingsImpl)AdvancedSettings.getInstance()).setSetting("java.completion.qualifier.as.argument", true, getTestRootDisposable()); myFixture.configureByText("Test.java", """ package org.test; public abstract class Test { String run() { return "test".test3<caret> } public static <T> T test3(T t) { return null; } } """); myFixture.complete(CompletionType.SMART, 3); myFixture.type('\n'); myFixture.checkResult(""" package org.test; public abstract class Test { String run() { return test3("test") } public static <T> T test3(T t) { return null; } } """); }