} catch (Exception e) {
e.printStackTrace();
Assert.fail(e.getMessage());
}
ResponseCtx response = pdp.evaluate(request);
Result result = (Result) response.getResults().iterator().next();
// ByteArrayOutputStream out = new ByteArrayOutputStream();
// response.encode(out);
// System.out.println(new String(out.toByteArray()));
assertTrue(result.getDecision() == Result.DECISION_PERMIT);