void () { doTest("a<<>>b", """ Element(ROOT) PsiElement(LETTER)('a') PsiElement(COLLAPSED)('<<') PsiElement(COLLAPSED)('>>') PsiElement(LETTER)('b') """, builder -> { PsiBuilderUtil.advance(builder, 1); PsiBuilder.Marker marker1 = builder.mark(); PsiBuilderUtil.advance(builder, 2); marker1.collapse(COLLAPSED); PsiBuilder.Marker marker2 = builder.mark(); PsiBuilderUtil.advance(builder, 2); marker2.collapse(COLLAPSED); PsiBuilderUtil.advance(builder, 1); } ); }