void () { configure("package-info.java", """ // Copyright // Shmopyright /** * A cool package */ package com.example; """); assertEquals(List.of("FoldRegion +(0:27), placeholder='/.../'", "FoldRegion -(28:53), placeholder='/** A cool package */'"), ContainerUtil.map(myFixture.getEditor().getFoldingModel().getAllFoldRegions(), FoldRegion::toString)); }