@Test
public void spanningInOrder_threeStops_matches() {

  Substring.Match match = spanningInOrder("o", "bar", "bar").in("foo barcarbar").get();
  assertThat(match.toString()).isEqualTo("oo barcarbar");
  assertThat(match.index()).isEqualTo(1);
  assertThat(match.length()).isEqualTo(12);
}