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

Examples of org.apache.webbeans.newtests.interceptors.beans.DependentScopedBean.throwException()


        Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);

        try {
            dbean.throwException();
        }
        catch (Exception e) {
            Assert.assertNotNull(DependentInterceptor.exceptionTarget);
            Assert.assertTrue(DependentInterceptor.exceptionTarget.equals(DependentScopedBean.class));
        }
View Full Code Here


        Assert.assertTrue(DependentInterceptor.refCount == 1);
       
        Assert.assertTrue(DependentScopedBean.SAY_HELLO);

        try {
            dbean.throwException();
        }
        catch (Exception e) {
            Assert.assertTrue(DependentInterceptor.exceptionTarget.equals(DependentScopedBean.class));
        }
           
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.