AddAutoIncrementGeneratorHsqlH2 sqlGenerator
= new AddAutoIncrementGeneratorHsqlH2();
factory.register(new AddAutoIncrementGenerator());
factory.register(sqlGenerator);
factory.register(new AddAutoIncrementGeneratorDB2());
assertEquals(3, factory.getGenerators().size());
factory.unregister(AddAutoIncrementGeneratorHsqlH2.class);
assertEquals(2, factory.getGenerators().size());