@Test public void toStringWithNullPatient() { PatientAccess pa = new DefaultPatientAccess(null, null, null, null); Assert.assertEquals("Access rules for <unknown patient>", pa.toString()); }
@Override public String toString() { return "Access rules for " + (this.patient != null ? this.patient.getDocumentReference() : "<unknown patient>"); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public String toString() { return "Access rules for " + (this.patient != null ? this.patient.getDocumentReference() : "<unknown patient>"); } }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public String toString() { return "Access rules for " + (this.patient != null ? this.patient.getDocumentReference() : "<unknown patient>"); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public String toString() { return "Access rules for " + (this.patient != null ? this.patient.getDocumentReference() : "<unknown patient>"); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); @Override Patient getPatient(); @Override String toString(); }
DefaultPatientAccess extends DefaultEntityAccess implements PatientAccess { @Override public String toString() { return "Access rules for " + (this.patient != null ? this.patient.getDocumentReference() : "<unknown patient>"); } DefaultPatientAccess(Patient patient, EntityAccessHelper helper, EntityAccessManager accessManager,
        EntityVisibilityManager visibilityManager); @Override Patient getPatient(); @Override String toString();  }