void () { configure(""" class Some { void m(@Anno("hello " + "world") int a, @Anno("goodbye " + "world") int b) {} } @interface Anno {\s String value(); } """); assertEquals(List.of("FoldRegion -(11:141), placeholder='{...}'", "FoldRegion -(24:66), placeholder='@{...}'", "FoldRegion -(85:129), placeholder='@{...}'", "FoldRegion -(159:183), placeholder='{...}'"), ContainerUtil.map(myFixture.getEditor().getFoldingModel().getAllFoldRegions(), FoldRegion::toString)); }