void () { initText(""" line containing FOLDED_REGION next <caret>line last line"""); foldOccurrences("FOLDED_REGION", "..."); configureSoftWraps(16); // wrap right at folded region start verifySoftWrapPositions(16); executeAction(IdeActions.ACTION_EDITOR_MOVE_CARET_DOWN); checkResultByText(""" line containing FOLDED_REGION next line last <caret>line"""); }