void () { @Language("JAVA") String text = """ class A { // region Some @SuppressWarnings("") // endregion @Deprecated void m() {} } """; configure(text); assertTrue(Arrays.toString(myFixture.getEditor().getFoldingModel().getAllFoldRegions()).contains("Some")); }