void () { @Language("JAVA") String text = """ class Foo { // 0 // 1 // 2 next empty line is significant // 3 // 4 int t = 1; // 5 // 6 // 7 } """; configure(text); assertFolding("// 0"); assertFolding("// 3"); assertFolding("// 5"); assertEquals(3, getFoldRegionsCount()); }