CreationalContext<ApplicationScopedBean> ctx = getBeanManager().createCreationalContext(bean);
Object reference1 = getBeanManager().getReference(bean, ApplicationScopedBean.class, ctx);
Assert.assertNotNull(reference1);
ApplicationScopedBean app = (ApplicationScopedBean) reference1;
app.getJ();
Assert.assertEquals(1, TransactionInterceptor.interceptorCount);
Assert.assertEquals(1, TransactionInterceptor.count);
app.getJ();
Assert.assertEquals(1, TransactionInterceptor.interceptorCount);
Assert.assertEquals(2, TransactionInterceptor.count);
app.getJ();
Assert.assertEquals(1, TransactionInterceptor.interceptorCount);
Assert.assertEquals(3, TransactionInterceptor.count);
}