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