@Test
public void tryToMapJavaNullValue() {

    final JsonValueFieldDefinition<JsonObject> underTest =
            JsonValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, JsonObject.class, JsonValue::isObject,
                    JsonValue::asObject);
    assertThatExceptionOfType(NullPointerException.class)
            .isThrownBy(() -> underTest.mapValue(null))
            .withMessage("The %s must not be (Java) null!", "JsonValue to be mapped")
            .withNoCause();
}