One more test
This commit is contained in:
parent
ab4deb406c
commit
5ad384c11a
|
@ -25,5 +25,14 @@ public class FhirContextDstu3Test {
|
|||
assertEquals(AdministrativeGender.class, genderChild.getBoundEnumType());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testQueryNonBoundCode() {
|
||||
RuntimeResourceDefinition patientType = ourCtx.getResourceDefinition(Patient.class);
|
||||
String childName = "name";
|
||||
BaseRuntimeChildDatatypeDefinition genderChild = (BaseRuntimeChildDatatypeDefinition) patientType.getChildByName(childName);
|
||||
ourLog.trace(genderChild.getClass().getName());
|
||||
|
||||
assertEquals(null, genderChild.getBoundEnumType());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue