String error = "The received token does not match the token inclusion requirement";
assertTrue(ex.getMessage().contains(error));
}
((java.io.Closeable)saml2Port).close();
bus.shutdown(true);
}
// In this test-case, the WSP is configured with a XACML PEP interceptor, which in this
// case just mocks the call to the PDP + enforces the decision
@org.junit.Test