void () { doTest(CommonQuickFixBundle.message("fix.replace.with.x", "Collections.emptyList()"), """ import java.util.*; class X {{ Spliterator<String> it = Arrays.<String>/**/asList().spliterator(); }}""", """ import java.util.*; class X {{ Spliterator<String> it = Collections.<String>emptyList().spliterator(); }}"""); }