void () { doMemberTest(InspectionGadgetsBundle.message("smth.unnecessary.remove.quickfix", "return"), """ public void printName(String name) { if (!"foo".equals(name)) { System.out.println(name); return/**/; } } """, """ public void printName(String name) { if (!"foo".equals(name)) { System.out.println(name); } } """ ); }