SchemaManager schemaManager = loadSystem();
int nrSize = schemaManager.getNormalizerRegistry().size();
int goidSize = schemaManager.getGlobalOidRegistry().size();
String oid = "0.0.0";
Normalizer normalizer = new NoOpNormalizer( oid );
assertTrue( schemaManager.add( normalizer ) );
Normalizer added = schemaManager.lookupNormalizerRegistry( oid );
assertNotNull( added );
assertEquals( normalizer.getClass().getName(), added.getFqcn() );
List<Throwable> errors = schemaManager.getErrors();
assertEquals( 0, errors.size() );
assertEquals( nrSize + 1, schemaManager.getNormalizerRegistry().size() );
assertEquals( goidSize, schemaManager.getGlobalOidRegistry().size() );
Normalizer normalizer2 = new NoOpNormalizer( oid );
assertFalse( schemaManager.add( normalizer2 ) );
errors = schemaManager.getErrors();
assertEquals( 1, errors.size() );