void () { doFailTest("a", "Another not done marker added after this one. Must be done before this.", builder -> { PsiBuilder.Marker first = builder.mark(); builder.advanceLexer(); PsiBuilder.Marker second = builder.mark(); second.precede(); first.doneBefore(LETTER, second); } ); }