use of com.b2international.snowowl.fhir.core.model.conceptmap.UnMapped in project snow-owl by b2ihealthcare.
the class UnMappedTest method deserialize.
@Test
public void deserialize() throws Exception {
UnMapped readUnMapped = objectMapper.readValue(objectMapper.writeValueAsString(unMapped), UnMapped.class);
validate(readUnMapped);
}
use of com.b2international.snowowl.fhir.core.model.conceptmap.UnMapped in project snow-owl by b2ihealthcare.
the class UnMappedTest method serializeWithMissingOptionalFields.
@Test
public void serializeWithMissingOptionalFields() throws Exception {
UnMapped unMapped = UnMapped.builder().mode("Mode").build();
JsonPath jsonPath = getJsonPath(unMapped);
assertNull(jsonPath.get("code"));
}