void () { doTest("class X {" + " boolean m(Class c1, Class c2) {" + " return c1./*'equals()' can be replaced with '=='*//*_*/equals/**/(c2);" + " }" + "}"); checkQuickFix(CommonQuickFixBundle.message("fix.replace.x.with.y", "equals()", "=="), "class X {" + " boolean m(Class c1, Class c2) {" + " return c1 == c2;" + " }" + "}"); }