Bean<InstanceTypeLiteralBean> bean = defineManagedBean(InstanceTypeLiteralBean.class);
Object object = getManager().getReference(bean, InstanceTypeLiteralBean.class,getManager().createCreationalContext(bean) );
Assert.assertTrue(object instanceof InstanceTypeLiteralBean);
InstanceTypeLiteralBean beaninstance = (InstanceTypeLiteralBean)object;
Object produce = beaninstance.produce(0);
Assert.assertTrue(produce instanceof Instance);
Instance<IntegerOrder> order = (Instance<IntegerOrder>)produce;
Assert.assertTrue(order.get() instanceof IntegerOrder);