Class CustomInterceptorInvocationTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class CustomInterceptorInvocationTest
    extends AbstractTest
    Registers an extension-provided implementation of the Interceptor interface and verifies that the implementation is invoked upon invocation of an intercepted method.

    This test was originally part of Weld test suite - WELD-997.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • CustomInterceptorInvocationTest

        public CustomInterceptorInvocationTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="after_bean_discovery",id="dd") @SpecAssertion(section="interceptor",id="d")
        public void testCustomInterceptorInvocation()