@Test
public void tryToAcceptNullDefinition() {

    final JsonArrayValueValidator underTest = JsonArrayValueValidator.getInstance();
    assertThatNullPointerException()
            .isThrownBy(() -> underTest.accept(null, validJsonArrayString))
            .withMessage("The definition must not be null!")
            .withNoCause();
}