void () { // Inspired by IDEA-19408 getSettings().BLANK_LINES_AROUND_METHOD = 2; doTextTest( """ public enum Wrapping { WRAPPING {public boolean flag1() { return false; }public boolean flag2() { return false; }public boolean flag3() { return false; }public boolean flag4() { return false; }} }""", """ public enum Wrapping { WRAPPING { public boolean flag1() { return false; } public boolean flag2() { return false; } public boolean flag3() { return false; } public boolean flag4() { return false; } } }""" ); }