void () { ((AdvancedSettingsImpl)AdvancedSettings.getInstance()).setSetting("java.completion.qualifier.as.argument", true, getTestRootDisposable()); myFixture.configureByText("Test.java", """ package org.test; public abstract class Test { Integer run() { return "test".test3<caret> } public static String test3(String t) { return 0; } } """); LookupElement[] completed = myFixture.complete(CompletionType.SMART, 3); assertEmpty(completed); }