assertEquals( "name", attributeType.getSuperiorOid() );
attrs = getSchemaContext( getService() ).getAttributes(
"m-oid=1.3.6.1.4.1.18060.0.4.0.2.10000,ou=attributeTypes,cn=nis" );
assertNotNull( attrs );
SchemaEntityFactory factory = new SchemaEntityFactory();
Entry serverEntry = ServerEntryUtils.toServerEntry( attrs, Dn.ROOT_DSE, getService().getSchemaManager() );
AttributeType at = factory.getAttributeType( getService().getSchemaManager(), serverEntry, 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 ) );