public void testIndexedNameElement() {
Element element = new NamePath(null, createName("test"), 123);
assertFalse(element.denotesCurrent());
assertFalse(element.denotesIdentifier());
assertTrue(element.denotesName());
assertFalse(element.denotesParent());
assertFalse(element.denotesRoot());
assertEquals(createName("test"), element.getName());
assertEquals(123, element.getIndex());
assertEquals(123, element.getNormalizedIndex());