@Test
public void testUndeployPolicies() throws AuditException {

	final XacmlRequest xacmlRequest = new XacmlRequest();
	final EvaluatableID id = policy.getId();
	final List<EvaluatableID> ids = new LinkedList<EvaluatableID>();
	ids.add(id);
	pdp.deployPolicies(simplePDP, policies, xacmlRequest, false);
	assertEquals(
			"PERMIT",
			pdp.evaluateRequest(simplePDP, request,
					new LinkedList<Evaluatable>(), xacmlRequest)
					.getPdpDecision());
	pdp.undeployPoliciesById(simplePDP, ids);
	assertEquals(
			"NOT_APPLICABLE",
			pdp.evaluateRequest(simplePDP, request,
					new LinkedList<Evaluatable>(), xacmlRequest)
					.getPdpDecision());
}