@Test
public void mapJsonNullLiteralWithJsonObjectFieldDefinitionReturnsExpected() {

    final JsonValue nullLiteral = JsonFactory.nullLiteral();
    final JsonValueFieldDefinition<JsonObject> underTest =
            JsonValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, JsonObject.class, JsonValue::isObject,
                    JsonValue::asObject);
    final JsonObject mapped = underTest.mapValue(nullLiteral);
    assertThat(mapped).isNullLiteral().isEmpty();
}