@Test
public void testDescendants() throws Exception
{
AttributeTypeRegistry attrRegistry = registries.getAttributeTypeRegistry();
Iterator<AttributeType> list = attrRegistry.descendants( "name" );
Set<String> nameAttrs = new HashSet<String>();
while ( list.hasNext() )
{
AttributeType type = list.next();