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