void () { doTest("class C {" + " String m(String expected, String actual) {" + " return String./*_Replace 'String.format()' with concatenation*/format(\"Expected to get a '%s', got a '%s' instead\", expected, actual);" + " }" + "}", "class C {" + " String m(String expected, String actual) {" + " return \"Expected to get a '\" + expected + \"', got a '\" + actual + \"' instead\";" + " }" + "}"); }