@Test
public void stringRepresentationContainsExpected() {

    final JavaValueFieldDefinition<Double> underTest =
            JavaValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, double.class, JsonValue::isNumber,
                    JsonValue::asDouble, knownFieldMarkers);
    assertThat(underTest.toString())
            .contains("pointer")
            .contains("valueType")
            .contains("double")
            .contains("checkJavaTypeFunction")
            .contains("mappingFunction")
            .contains("markers");
}