@Test public void getPatient() { Patient p = mock(Patient.class); EntityAccessHelper h = mock(EntityAccessHelper.class); EntityAccessManager am = mock(EntityAccessManager.class); EntityVisibilityManager vm = mock(EntityVisibilityManager.class); PatientAccess pa = new DefaultPatientAccess(p, h, am, vm); Assert.assertSame(p, pa.getPatient()); }
@Override public Patient getPatient() { return (Patient) getEntity(); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public Patient getPatient() { return (Patient) getEntity(); } }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public Patient getPatient() { return (Patient) getEntity(); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public Patient getPatient() { return (Patient) getEntity(); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); @Override Patient getPatient(); @Override String toString(); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public Patient getPatient() { return (Patient) getEntity(); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); @Override Patient getPatient(); @Override String toString();  }