void () { assertQuickfixNotAvailable(InspectionGadgetsBundle.message("smth.unnecessary.remove.quickfix", "break"), """ class X { public void printName(String name) { switch (name) { case "A" : { System.out.println("A"); break/**/; } default : { System.out.println("Default"); break; } } } } """); }