@Test public void parse_badParameters() {

  assertThatThrownBy(() -> entrySplitter.parse(null, map, ""))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("handler == null");
  assertThatThrownBy(() -> entrySplitter.parse(parseIntoMap, null, ""))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("target == null");
  assertThatThrownBy(() -> entrySplitter.parse(parseIntoMap, map, null))
      .isInstanceOf(NullPointerException.class)
      .hasMessage("input == null");
  assertThatThrownBy(() -> entrySplitter.parse(parseIntoMap, map, "", -1, 1))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("beginIndex < 0");
  assertThatThrownBy(() -> entrySplitter.parse(parseIntoMap, map, "", 0, 2))
      .isInstanceOf(IllegalArgumentException.class)
      .hasMessage("endIndex > input.length()");
}