Class CustomInterceptorRegistrationTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class CustomInterceptorRegistrationTest
    extends AbstractTest
    Registers an extension-provided implementation of the Interceptor interface.

    This test was originally part of Weld test suite. Causes deployment error on Weld if an intercepted bean is passivation capable - WELD-996.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • CustomInterceptorRegistrationTest

        public CustomInterceptorRegistrationTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertions(@SpecAssertion(section="after_bean_discovery",id="dd"))
        public void testCustomInterceptorRegistration()