@Test public void resolveVisibilityWithUnknownVisibilityTest() throws ComponentLookupException { when(this.entityPermissionsManager.resolveVisibility("unknown")).thenReturn(null); Assert.assertNull(this.mocker.getComponentUnderTest().resolveVisibility("unknown")); }
@Override public Visibility resolveVisibility(String name) { return this.entityPermissionsManager.resolveVisibility(name); }
DefaultPermissionsManager implements PermissionsManager { @Override public Visibility resolveVisibility(String name) { return this.entityPermissionsManager.resolveVisibility(name); } }
DefaultPermissionsManager implements PermissionsManager { @Override public Visibility resolveVisibility(String name) { return this.entityPermissionsManager.resolveVisibility(name); }  }
DefaultPermissionsManager implements PermissionsManager { @Override public Visibility resolveVisibility(String name) { return this.entityPermissionsManager.resolveVisibility(name); }  @Override Collection<Visibility> listVisibilityOptions(); @Override Collection<Visibility> listAllVisibilityOptions(); @Override Visibility getDefaultVisibility(); @Override Visibility resolveVisibility(String name); @Override Collection<AccessLevel> listAccessLevels(); @Override AccessLevel resolveAccessLevel(String name); @Override PatientAccess getPatientAccess(Patient targetPatient); @Override Collection<Patient> filterByVisibility(Collection<Patient> patients, Visibility requiredVisibility); @Override Iterator<Patient> filterByVisibility(Iterator<Patient> patients, Visibility requiredVisibility); void fireRightsUpdateEvent(String patientId); }
DefaultPermissionsManager implements PermissionsManager { @Override public Visibility resolveVisibility(String name) { return this.entityPermissionsManager.resolveVisibility(name); }  @Override Collection<Visibility> listVisibilityOptions(); @Override Collection<Visibility> listAllVisibilityOptions(); @Override Visibility getDefaultVisibility(); @Override Visibility resolveVisibility(String name); @Override Collection<AccessLevel> listAccessLevels(); @Override AccessLevel resolveAccessLevel(String name); @Override PatientAccess getPatientAccess(Patient targetPatient); @Override Collection<Patient> filterByVisibility(Collection<Patient> patients, Visibility requiredVisibility); @Override Iterator<Patient> filterByVisibility(Iterator<Patient> patients, Visibility requiredVisibility); void fireRightsUpdateEvent(String patientId);  }