CreationalContext<IDestroy> creationalContext = getBeanManager().createCreationalContext(bean);
Object instance = getBeanManager().getReference(bean, IDestroy.class, creationalContext);
IDestroy outputProvider = (IDestroy) instance;
Assert.assertTrue(outputProvider != null);
outputProvider.destroy();
Assert.assertTrue(MyDestory.destroyed);
bean.destroy(outputProvider,creationalContext);
Assert.assertTrue(DependentDecorator.dispose);