@Test
public void split_cannotSplit() {

  IllegalArgumentException thrown =
      assertThrows(
          IllegalArgumentException.class, () -> first('=').split("foo:bar", String::concat));
  assertThat(thrown).hasMessageThat().isEqualTo("Pattern first('=') not found in 'foo:bar'.");
}