void () { doMemberTest(InspectionGadgetsBundle.message("redundant.else.unwrap.quickfix"), """ public void printName(String[] texts) { for (String text : texts) { if ("illegal".equals(text)) { break; } else/**/ { System.out.println(text); } } } """, """ public void printName(String[] texts) { for (String text : texts) { if ("illegal".equals(text)) { break; } System.out.println(text); } } """ ); }