### Question:
ProjectValidationType { @JsonValue public String getValue() { return value; } @JsonCreator  ProjectValidationType(String value); @JsonValue String getValue(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); static final ProjectValidationType PDM_VS_DWH; static final ProjectValidationType METRIC_FILTER; static final ProjectValidationType PDM_TRANSITIVITY; static final ProjectValidationType LDM; static final ProjectValidationType INVALID_OBJECTS; static final ProjectValidationType PDM_ELEM; static final ProjectValidationType PDM_PK_FK_CONSISTENCY; }### Answer:
@Test public void testDeserialize() throws Exception { final ProjectValidationType myValidationType = OBJECT_MAPPER.readValue("\"myValidationType\"", ProjectValidationType.class); assertThat(myValidationType, notNullValue()); assertThat(myValidationType.getValue(), is("myValidationType")); }