Skip to content

Commit

Permalink
Add a check for prefix declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jan 25, 2015
1 parent b74f08b commit 8c100b3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 8c100b3

Please sign in to comment.