@Test public void authorizeInteractionForPatientWhenPatientIsNull() { Assert.assertFalse(this.component.authorizeInteraction((Patient) null)); }
@Override public boolean authorizeInteraction(Patient patient) { return (patient != null) && this.containsRequiredConsents(this.consentManager.getMissingConsentsForPatient(patient)); }
DefaultConsentAuthorizer implements ConsentAuthorizer { @Override public boolean authorizeInteraction(Patient patient) { return (patient != null) && this.containsRequiredConsents(this.consentManager.getMissingConsentsForPatient(patient)); } }
DefaultConsentAuthorizer implements ConsentAuthorizer { @Override public boolean authorizeInteraction(Patient patient) { return (patient != null) && this.containsRequiredConsents(this.consentManager.getMissingConsentsForPatient(patient)); }  }
DefaultConsentAuthorizer implements ConsentAuthorizer { @Override public boolean authorizeInteraction(Patient patient) { return (patient != null) && this.containsRequiredConsents(this.consentManager.getMissingConsentsForPatient(patient)); }  @Override boolean consentsGloballyEnabled(); @Override List<RecordElement> filterForm(List<RecordElement> elements, Patient patient); @Override boolean authorizeInteraction(Patient patient); @Override boolean authorizeInteraction(Set<String> grantedConsents); @Override boolean isElementConsented(RecordElement element, Patient patient); }
DefaultConsentAuthorizer implements ConsentAuthorizer { @Override public boolean authorizeInteraction(Patient patient) { return (patient != null) && this.containsRequiredConsents(this.consentManager.getMissingConsentsForPatient(patient)); }  @Override boolean consentsGloballyEnabled(); @Override List<RecordElement> filterForm(List<RecordElement> elements, Patient patient); @Override boolean authorizeInteraction(Patient patient); @Override boolean authorizeInteraction(Set<String> grantedConsents); @Override boolean isElementConsented(RecordElement element, Patient patient);  }