public void testXACMLDecisionStatements() throws Exception {
ClassLoader tcl = Thread.currentThread().getContextClassLoader();
InputStream configStream = tcl.getResourceAsStream("saml-xacml/saml-xacml-response-1.xml");
validateSchema(configStream);
configStream = tcl.getResourceAsStream("saml-xacml/saml-xacml-response-1.xml");
SAMLParser parser = new SAMLParser();
ResponseType response = (ResponseType) parser.parse(configStream);
assertNotNull("ResponseType is not null", response);
// Get the assertion
AssertionType assertion = response.getAssertions().get(0).getAssertion();
assertEquals("ID_response-id_1", assertion.getID());