public void testCircular() throws Exception {
BlueprintRepository repository = createBlueprintContainer().getRepository();
// this should pass (we allow circular dependencies for components without init method)
Object obj1 = repository.create("a");
// test service and listener circular dependencies
Object obj2 = repository.create("service");
assertNotNull(obj2);
assertTrue(obj2 instanceof ServiceRegistration);