void () { prepareEditor(""" <body><div> </div><div> some text some text some text </div><div> </div></body>"""); collapseFoldingRegion(2); verifyAnchors(myFixture.getEditor().getFoldingModel().getAllFoldRegions()[1], 0, Type.EXPANDED_TOP, 1, Type.EXPANDED_BOTTOM, 2, Type.EXPANDED_BOTTOM); }