int atrSize = schemaManager.getAttributeTypeRegistry().size();
int goidSize = schemaManager.getGlobalOidRegistry().size();
// Try to delete an AT which has descendant
// (modifiersName has one descendant : schemaModifiersName)
AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( "modifiersName" );
// It should fail
assertFalse( schemaManager.delete( attributeType ) );
assertTrue( isAttributeTypePresent( schemaManager, "modifiersName" ) );