assertEquals( "name", attributeType.getSuperiorOid() );
Entry entry = connection.lookup(
"m-oid=1.3.6.1.4.1.18060.0.4.0.2.10000,ou=attributeTypes,cn=nis,ou=schema" );
assertNotNull( entry );
SchemaEntityFactory factory = new SchemaEntityFactory();
AttributeType at = factory.getAttributeType( getService().getSchemaManager(), entry, getService()
.getSchemaManager().getRegistries(), "nis" );
assertEquals( "1.3.6.1.4.1.18060.0.4.0.2.10000", at.getOid() );
assertEquals( "name", at.getSuperiorOid() );
assertEquals( "bogus description", at.getDescription() );
assertEquals( "bogus", at.getNames().get( 0 ) );