assertEquals("abc", applied.getThird().toString());
}
@Test
public void testRegionMatcher_before() {
RegionMatch match = new RegionMatch("abc", 0, new TextRegion(3, 2));
assertEquals("Should be BEFORE", RegionMatch.IntersectionType.BEFORE, match.getIntersectionType());
Triple<CharSequence, CharSequence, CharSequence> applied = match.apply();
assertEquals("", applied.getFirst().toString());
assertEquals("abc", applied.getSecond().toString());
assertEquals("", applied.getThird().toString());