// =====================================================================
// Test Expectations
// =====================================================================
ActivatedPolicyRetriever retriever = new ActivatedPolicyRetrieverImpl(
activatorMock, projectManagerMock);
try {
retriever.retrievePolicy(projectMock, name);
fail("Did not detect invalid project in response");
} catch (IllegalStateException e) {
assertEquals("Response indicates policy is in " +
"{actualProjectMock} instead of {globalProjectMock} but " +
"either it, or {projectMock} is not the global " +