PatientWrapper extends AbstractPatientWrapper { public PersonWrapper getPerson() { return person; } PatientWrapper(Patient target); PersonWrapper getPerson(); String getMedicalRecordNumber(); String getPatientClinicNumber(); void setPatientClinicNumber(String value, Location location); String getUniquePatientNumber(); void setUniquePatientNumber(String value, Location location); String getNationalIdNumber(); void setNationalIdNumber(String value, Location location); String getNextOfKinAddress(); void setNextOfKinAddress(String value); String getNextOfKinContact(); void setNextOfKinContact(String value); String getNextOfKinName(); void setNextOfKinName(String value); String getNextOfKinRelationship(); void setNextOfKinRelationship(String value); String getSubChiefName(); void setSubChiefName(String value);  }
@Test public void getPerson_shouldUnderlyingPersonWrapped() { Assert.assertThat(wrapper.getPerson().getTarget(), is((OpenmrsObject) patient)); }