void () { getSettings().RIGHT_MARGIN = 30; getSettings().SWITCH_EXPRESSIONS_WRAP = CommonCodeStyleSettings.WRAP_ON_EVERY_ITEM; doClassTest(""" boolean isMagicNumber(Integer b) { return switch (b) { // Exhaustive! case true ? 10 : 20, false ? 11 : 12 -> true; default -> false; }; }""", """ boolean isMagicNumber(Integer b) { return switch (b) { // Exhaustive! case true ? 10 : 20, false ? 11 : 12 -> true; default -> false; }; }"""); }