void () { getSettings().CASE_STATEMENT_ON_NEW_LINE = false; doMethodTest(""" String s = switch (i) { case 1: break label ; case 3: break label ; case 4: break ; }""", """ String s = switch (i) { case 1: break label; case 3: break label; case 4: break; }"""); }