@Test
public void getValueTypeReturnsExpected() {

    final Class<String> valueType = String.class;
    final JavaValueFieldDefinition underTest =
            JavaValueFieldDefinition.newInstance(KNOWN_JSON_POINTER, valueType, JsonValue::isString,
                    JsonValue::asString, knownFieldMarkers);
    assertThat(Objects.equals(underTest.getValueType(), valueType)).isTrue();
}