@Test
public void testEvaluateRequest() throws AuditException {

	final XacmlRequest xacmlRequest = new XacmlRequest();
	pdp.deployPolicies(simplePDP, policies, xacmlRequest, false);
	assertEquals(
			"PERMIT",
			pdp.evaluateRequest(simplePDP, request,
					new LinkedList<Evaluatable>(), xacmlRequest)
					.getPdpDecision());
	pdp.undeployPolicy(simplePDP, policy);
	pdp.deployPolicies(simplePDP, policies_invalid, xacmlRequest, false);
	assertEquals(
			"DENY",
			pdp.evaluateRequest(simplePDP, request,
					new LinkedList<Evaluatable>(), xacmlRequest)
					.getPdpDecision());
}