void () { FoldRegion region = addCollapsedFoldRegion(5, 15, "..."); addCollapsedFoldRegion(10, 12, "???"); FoldRegion[] topLevelRegions = myModel.fetchTopLevel(); Assert.assertArrayEquals(new FoldRegion[]{region}, topLevelRegions); }