### Question:
PrivilegePolicyStore implements PolicyStore { @Override public Privilege read(String policyName) throws EntitlementException { final Privilege policy = privilegeManager.findByName(policyName); if (policy == null) { throw new EntitlementException(EntitlementException.NO_SUCH_POLICY, new Object[] { policyName }); } return policy; } PrivilegePolicyStore(final PrivilegeManager privilegeManager, Map<String, QueryAttribute> queryAttributes); @Override Privilege read(String policyName); @Override Privilege create(Privilege policy); @Override Privilege update(String existingName, Privilege policy); @Override void delete(String policyName); @Override List<Privilege> query(QueryRequest request);  }### Answer:
@Test public void shouldDelegateReadsToPrivilegeManager() throws Exception { String id = "testPolicy"; Privilege policy = new StubPrivilege(); given(mockManager.findByName(id)).willReturn(policy); Privilege response = testStore.read(id); verify(mockManager).findByName(id); assertThat(response).isSameAs(policy); }