void () { getSettings().KEEP_SIMPLE_BLOCKS_IN_ONE_LINE = true; getSettings().SPACE_WITHIN_BRACES = true; String singleLine = "if (2 > 3) { System.out.println(\"AA!\"); }"; getSettings().BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE; doMethodTest(singleLine, singleLine); getSettings().BRACE_STYLE = CommonCodeStyleSettings.END_OF_LINE; doMethodTest(singleLine, singleLine); }