/**
* Test that a null local name fails.
*/
public void testNullLocalNameFails() {
try {
ValueConstraint constraint = new ValueConstraintMock(
"constraintMock", expectations);
new AttributeMatcher(null, null, constraint);
fail("Null localName not detected");
} catch (IllegalArgumentException e) {
assertEquals("Error message incorrect",