{
SchemaManager schemaManager = loadSystem();
int mrrSize = schemaManager.getMatchingRuleRegistry().size();
int goidSize = schemaManager.getGlobalOidRegistry().size();
MutableMatchingRule matchingRule = new MutableMatchingRule( "1.1.0" );
matchingRule.setNames( "Test", "cn" );
matchingRule.setSyntaxOid( "1.3.6.1.4.1.1466.115.121.1.26" );
// It should not fail
assertTrue( schemaManager.add( matchingRule ) );
List<Throwable> errors = schemaManager.getErrors();