public void testXACML() throws Exception {
if (sendRequest) {
// Create an XACML Request
RequestType xacmlRequest = getXACMLRequest();
SOAPSAMLXACML soapSAMLXACML = new SOAPSAMLXACML();
Result result = soapSAMLXACML.send(endpoint, issuer, xacmlRequest);
assertTrue("No fault", result.isFault() == false);
assertTrue("Decision available", result.isResponseAvailable());
assertTrue("Deny", result.isDeny());
}
}