@Test
public void testAnyAttribute() {

    Matcher matcher = parser.parse("/@*");
    assertFalse(matcher.matchesText());
    assertFalse(matcher.matchesElement());
    assertTrue(matcher.matchesAttribute(null, "name"));
    assertTrue(matcher.matchesAttribute(NS, "name"));
    assertTrue(matcher.matchesAttribute(NS, "eman"));
    assertEquals(Matcher.FAIL, matcher.descend(NS, "name"));
}