/**
* Test that a null is not allowed.
*/
public void testNullFails() {
try {
new NamespaceMatcher(null);
fail("Null namespace not detected");
} catch (IllegalArgumentException e) {
assertEquals("Error message incorrect",
"namespace cannot be null",
e.getMessage());