Class InterceptorWithNonPassivationCapableDependenciesTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class InterceptorWithNonPassivationCapableDependenciesTest
    extends AbstractTest
    Verifies that an interceptor that is passivation capable while having non-passivation capable dependencies is allowed provided it does not intercept a bean declaring passivation scope.

    This test was originally part of Weld test suite.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • InterceptorWithNonPassivationCapableDependenciesTest

        public InterceptorWithNonPassivationCapableDependenciesTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="passivation_validation",
                       id="k")
        public void test()