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