assertEquals(3, callback.size());
checkInitCallback(instances.get("d"), callback.get(0));
checkInitCallback(instances.get("c"), callback.get(1));
checkInitCallback(instances.get("e"), callback.get(2));
repository.destroy();
assertEquals(6, callback.size());
checkDestroyCallback(instances.get("e"), callback.get(3));
checkDestroyCallback(instances.get("c"), callback.get(4));
checkDestroyCallback(instances.get("d"), callback.get(5));