@Test
public void mapJsonNullLiteralWithStringFieldDefinition() {

    final Class<String> valueType = String.class;
    final JsonValue nullLiteral = JsonFactory.nullLiteral();
    final JavaValueFieldDefinition<String> underTest =
            JavaValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, valueType, JsonValue::isString,
                    JsonValue::asString);
    assertThat(underTest.mapValue(nullLiteral)).isNull();
}