Object reference = getBeanManager().getReference(bean, CircularNormalInConstructor.class, ctx);
Assert.assertTrue(reference instanceof CircularNormalInConstructor);
CircularNormalInConstructor beanInstance = (CircularNormalInConstructor)reference;
beanInstance.sayHello();
beans = getBeanManager().getBeans("org.apache.webbeans.newtests.injection.circular.beans.CircularConstructorOrProducerMethodParameterBean");
Assert.assertNotNull(beans);
Bean<CircularConstructorOrProducerMethodParameterBean> bean2 = (Bean<CircularConstructorOrProducerMethodParameterBean>)beans.iterator().next();
CreationalContext<CircularConstructorOrProducerMethodParameterBean> ctx2 = getBeanManager().createCreationalContext(bean2);
reference = getBeanManager().getReference(bean2, CircularConstructorOrProducerMethodParameterBean.class, ctx2);
Assert.assertTrue(reference instanceof CircularConstructorOrProducerMethodParameterBean);
CircularConstructorOrProducerMethodParameterBean beanInstance2 = (CircularConstructorOrProducerMethodParameterBean)reference;
Assert.assertTrue(beanInstance2.getSAYHELLO());
reference = getBeanManager().getReference(bean, CircularNormalInConstructor.class, ctx);
Assert.assertTrue(reference instanceof CircularNormalInConstructor);
beanInstance = (CircularNormalInConstructor)reference;
Assert.assertTrue(beanInstance.getSAYHELLO());
shutDownContainer();
}