void () { initText("abc\ndef"); addCollapsedFoldRegion(3, 4, "..."); configureSoftWraps(6); verifySoftWrapPositions(4); VisualLinesIterator it = createIterator(0); assertFalse(it.atEnd()); it.advance(); assertFalse(it.atEnd()); it.advance(); assertTrue(it.atEnd()); }