Class WrapExpressionFactoryTest

  • All Implemented Interfaces:
    org.testng.IHookable, org.testng.ITestNGListener

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class WrapExpressionFactoryTest
    extends AbstractTest
    Test wrapping a Unified EL ExpressionFactory and enforcing rules defined in Section 6.4.3, Dependent pseudo-scope and Unified EL.
    1. Dependent bean is instantiated at most once
    2. The resulting instance is reused for every appearance of the EL name
    3. The resulting instance is destroyed when the evaluation completes
    Author:
    Martin Kouba
    • Constructor Detail

      • WrapExpressionFactoryTest

        public WrapExpressionFactoryTest()
    • Method Detail

      • createTestArchive

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testWrapping

        @SpecAssertion(section="bm_wrap_expressionfactory",id="a") @SpecAssertion(section="bm_wrap_expressionfactory",id="b")
        public void testWrapping()