### Question:
PrivilegePolicyStore implements PolicyStore { @Override public Privilege create(Privilege policy) throws EntitlementException { privilegeManager.add(policy); 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 shouldAddPoliciesToPrivilegeManager() throws Exception { Privilege policy = new StubPrivilege(); Privilege response = testStore.create(policy); verify(mockManager).add(policy); assertThat(response).isSameAs(policy); }