void () { TextRange big = new TextRange(10, 100); TextRange small = new TextRange(50, 60); List<TextRange> result = split(big, Arrays.asList(small)); assertEquals(2, result.size()); assertEquals(result.toString(), new TextRange(10, 50), result.get(0)); assertEquals(result.toString(), new TextRange(60, 100), result.get(1)); }