@Test public void testLoadingConsentsWithNullPatient() throws Exception { this.setUpInitializationWithConfigurationMocks(); Patient patient = null; Assert.assertNull(this.mocker.getComponentUnderTest().getMissingConsentsForPatient(patient)); }
@Override public Set<Consent> getMissingConsentsForPatient(String patientId) { return this.getMissingConsentsForPatient(this.repository.get(patientId)); }
PhenoTipsPatientConsentManager implements ConsentManager, Initializable { @Override public Set<Consent> getMissingConsentsForPatient(String patientId) { return this.getMissingConsentsForPatient(this.repository.get(patientId)); } }
PhenoTipsPatientConsentManager implements ConsentManager, Initializable { @Override public Set<Consent> getMissingConsentsForPatient(String patientId) { return this.getMissingConsentsForPatient(this.repository.get(patientId)); }  }
PhenoTipsPatientConsentManager implements ConsentManager, Initializable { @Override public Set<Consent> getMissingConsentsForPatient(String patientId) { return this.getMissingConsentsForPatient(this.repository.get(patientId)); }  @Override void initialize(); @Override Set<Consent> getSystemConsents(); @Override boolean isValidConsentId(String consentId); @Override Set<Consent> getMissingConsentsForPatient(String patientId); @Override Set<Consent> getMissingConsentsForPatient(Patient patient); @Override Set<Consent> getAllConsentsForPatient(String patientId); @Override Set<Consent> getAllConsentsForPatient(Patient patient); @Override boolean setPatientConsents(Patient patient, Iterable<String> consents); @Override boolean hasConsent(String patientId, String consentId); @Override boolean hasConsent(Patient patient, String consentId); @Override boolean grantConsent(Patient patient, String consentId); @Override boolean revokeConsent(Patient patient, String consentId); @Override JSONArray toJSON(Collection<Consent> consents); @Override Set<Consent> fromJSON(JSONArray consentsJSON); }
PhenoTipsPatientConsentManager implements ConsentManager, Initializable { @Override public Set<Consent> getMissingConsentsForPatient(String patientId) { return this.getMissingConsentsForPatient(this.repository.get(patientId)); }  @Override void initialize(); @Override Set<Consent> getSystemConsents(); @Override boolean isValidConsentId(String consentId); @Override Set<Consent> getMissingConsentsForPatient(String patientId); @Override Set<Consent> getMissingConsentsForPatient(Patient patient); @Override Set<Consent> getAllConsentsForPatient(String patientId); @Override Set<Consent> getAllConsentsForPatient(Patient patient); @Override boolean setPatientConsents(Patient patient, Iterable<String> consents); @Override boolean hasConsent(String patientId, String consentId); @Override boolean hasConsent(Patient patient, String consentId); @Override boolean grantConsent(Patient patient, String consentId); @Override boolean revokeConsent(Patient patient, String consentId); @Override JSONArray toJSON(Collection<Consent> consents); @Override Set<Consent> fromJSON(JSONArray consentsJSON);  }