void () { doTest( "import java.util.*;" + "class X {" + " List<String> f() {" + " return Collections.emptyList(\"text\"/*_Replace with 'java.util.List.of()'*/);" + " }" + "}", "import java.util.*;" + "class X {" + " List<String> f() {" + " return List.of(\"text\");" + " }" + "}" ); }