void () { doTest(CommonQuickFixBundle.message("fix.replace.with.x", "Collections.singletonList()"), "import java.util.*;" + "class X {{\n" + " List<?> list = Arrays./**/asList((String)null);" + "}}", "import java.util.*;" + "class X {{\n" + " List<?> list = Collections.singletonList((String) null);" + "}}"); }