// Check that the MR and C are present
assertTrue( isMatchingRulePresent( schemaManager, OID ) );
assertTrue( isComparatorPresent( schemaManager, OID ) );
// Now try to remove the C
LdapComparator<?> lc = schemaManager.lookupComparatorRegistry( OID );
// shouldn't be deleted cause there is a MR associated with it
assertFalse( schemaManager.delete( lc ) );
List<Throwable> errors = schemaManager.getErrors();