// re-set any references we're using
module.setPolicyRefs(policyRefs, testPrefix);
module.setPolicySetRefs(policySetRefs, testPrefix);
// actually do the evaluation
ResponseCtx response = pdp.evaluate(request);
// if we're supposed to fail, we should have done so by now
if (errorExpected) {
System.out.println("failed");
errorCount++;
} else {
failurePointReached = true;
// load the reponse that we expectd to get
ResponseCtx expectedResponse = ResponseCtx.getInstance(new FileInputStream(
testPrefix + name + "Response.xml"));
// see if the actual result matches the expected result
boolean equiv = TestUtil.areEquivalent(response, expectedResponse);