void () { var file = myFixture.configureByText("a.txt", "abc"); TextContent c1 = psiFragment(file, 0, 1); TextContent c2 = psiFragment(file, 1, 2); assertOrderedEquals(TextContent.join(List.of(c1, c2)).getRangesInFile(), new TextRange(0, 2)); }