@Test
public void isMarkedAsReturnsTrueIfDefinitionContainsAskedMarker() {

    knownFieldMarkers = new JsonFieldMarker[] {schemaVersionMarkerMock, regularTypeMarkerMock};
    final JsonValueFieldDefinition<JsonObject> underTest =
            JsonValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, JsonObject.class, JsonValue::isObject,
                    JsonValue::asObject, knownFieldMarkers);
    assertThat(underTest.isMarkedAs(regularTypeMarkerMock)).isTrue();
}