void () { TextContent initial = TextContent.psiFragment(PLAIN_TEXT, myFixture.configureByText("a.txt", "abc")); TextContent c1 = initial.markUnknown(new TextRange(1, 1)).excludeRange(new TextRange(1, 2)); TextContent c2 = initial.excludeRange(new TextRange(1, 2)).markUnknown(new TextRange(1, 1)); assertEquals("a|c", unknownOffsets(c1)); assertEquals("a|c", unknownOffsets(c2)); assertEquals(c1, c2); }