diff --git a/src/test/java/uk/org/ukfederation/mda/dom/saml/AttributeMakerTest.java b/src/test/java/uk/org/ukfederation/mda/dom/saml/AttributeMakerTest.java index 06adcb1..3cead68 100644 --- a/src/test/java/uk/org/ukfederation/mda/dom/saml/AttributeMakerTest.java +++ b/src/test/java/uk/org/ukfederation/mda/dom/saml/AttributeMakerTest.java @@ -42,5 +42,8 @@ public void apply() { final Node node = attrs.item(i); Assert.assertNotNull(node.getLocalName()); } + + // check that the prefix is declared properly + Assert.assertEquals(newElement.lookupNamespaceURI(SAMLSupport.SAML_PREFIX), SAMLSupport.SAML_NS); } }