void () { // Inspired by IDEA-21191 getSettings().BLANK_LINES_AROUND_CLASS = 3; doTextTest( """ public class FormattingTest { class MyInnerClass1 { } class MyInnerClass2 { } static class MyInnerClass3 { } static class MyInnerClass4 { } class MyInnerClass5 { } }""", """ public class FormattingTest { class MyInnerClass1 { } class MyInnerClass2 { } static class MyInnerClass3 { } static class MyInnerClass4 { } class MyInnerClass5 { } }""" ); }