void () { getSettings().RIGHT_MARGIN = 30; getSettings().SWITCH_EXPRESSIONS_WRAP = CommonCodeStyleSettings.WRAP_ON_EVERY_ITEM; doClassTest(""" int getMagicNumber(Integer b) { return switch (b) { // Exhaustive! case 10, 100, 1000, 10000 -> 1; default -> -1; }; }""", """ int getMagicNumber(Integer b) { return switch (b) { // Exhaustive! case 10, 100, 1000, 10000 -> 1; default -> -1; }; }"""); }