// Check that the AT and S are present
assertTrue( isAttributeTypePresent( schemaManager, AT_OID ) );
assertTrue( isSyntaxPresent( schemaManager, S_OID ) );
// Now try to remove the S
LdapSyntax syntax = schemaManager.lookupLdapSyntaxRegistry( S_OID );
// shouldn't be deleted cause there is a AT associated with it
assertFalse( schemaManager.delete( syntax ) );
List<Throwable> errors = schemaManager.getErrors();