Assert.assertEquals(postForEntity.getStatusCode(), HttpStatus.OK);
responseBody = postForEntity.getBody();
Assert.assertEquals(responseBody.getEffect(), Effect.NOT_APPLICABLE);
}
@Test
<BUG>public void testPolicyEvalCacheWhenResourceDeleted() throws Exception {

BaseResource resource = new BaseResource("/secured-by-value/sites/sanramon");
BaseSubject subject = MARISSA_V1;</BUG>
PolicyEvaluationRequestV1 policyEvaluationRequest = this.policyHelper

Assert.assertEquals(postForEntity.getStatusCode(), HttpStatus.OK);
PolicyEvaluationResult responseBody = postForEntity.getBody();
Assert.assertEquals(responseBody.getEffect(), Effect.PERMIT);
this.privilegeHelper.putResource(this.acsAdminRestTemplate, resource, endpoint, this.acsZone1Headers,
this.privilegeHelper.getAlternateOrgAttribute());
postForEntity = this.acsAdminRestTemplate.postForEntity(endpoint + PolicyHelper.ACS_POLICY_EVAL_API_PATH,
new HttpEntity<>(policyEvaluationRequest, this.acsZone1Headers), PolicyEvaluationResult.class);
Assert.assertEquals(postForEntity.getStatusCode(), HttpStatus.OK);
responseBody = postForEntity.getBody();
Assert.assertEquals(responseBody.getEffect(), Effect.NOT_APPLICABLE);
}
@Test
public void testPolicyEvalCacheWhenSubjectChanges() throws Exception {
PolicyEvaluationRequestV1 policyEvaluationRequest = this.policyHelper
