public void testLoadDisabled() throws Exception
{
LdifSchemaLoader loader = new LdifSchemaLoader( schemaRepository );
SchemaManager schemaManager = new DefaultSchemaManager( loader );
assertTrue( schemaManager.loadDisabled( "nis" ) );
assertFalse( schemaManager.getErrors().isEmpty() );
AttributeType at = schemaManager.getAttributeType( "uidNumber" );
// if nis schema was loaded then the at will not be null