@SuppressWarnings("serial")
Bean<IDestroy> bean = (Bean<IDestroy>)getBeanManager().getBeans(IDestroy.class, new AnnotationLiteral<Default>(){}).iterator().next();
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);