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