@Test
public void mapJsonArrayWithJsonArrayObjectFieldDefinitionReturnsExpected() {

    final JsonValue sourceArray = JsonFactory.newArrayBuilder().add("foo", "bar").add(true).build();
    final JsonValueFieldDefinition<JsonArray> underTest =
            JsonValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, JsonArray.class, JsonValue::isArray,
                    JsonValue::asArray);
    final JsonArray mapped = underTest.mapValue(sourceArray);
    assertThat(mapped).isEqualTo(sourceArray);
}