Package org.apache.webbeans.newtests.interceptors.factory.beans

Examples of org.apache.webbeans.newtests.interceptors.factory.beans.MyAbstractTestDecorator


        Class<? extends MyAbstractTestDecorator> subClass
                = getWebBeansContext().getSubclassProxyFactory().createSubClass(this.getClass().getClassLoader(), MyAbstractTestDecorator.class);
        Assert.assertNotNull(subClass);

        MyAbstractTestDecorator instance = subClass.newInstance();
        Assert.assertNotNull(instance);

        Cow cow = new Cow();
        instance.setDelegate(cow);

        Assert.assertEquals(49, instance.getAge());

        shutDownContainer();
    }
View Full Code Here

TOP

Related Classes of org.apache.webbeans.newtests.interceptors.factory.beans.MyAbstractTestDecorator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.