void (FoldingModel model, int startOffset, int endOffset, String placeHolder) { FoldRegion foldRegion = model.addFoldRegion(startOffset, endOffset, placeHolder); assertNotNull(foldRegion); foldRegion.setExpanded(false); }