Class InterceptorNotResolvedInterModuleTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class InterceptorNotResolvedInterModuleTest
    extends AbstractTest
    • Constructor Detail

      • InterceptorNotResolvedInterModuleTest

        public InterceptorNotResolvedInterModuleTest()
    • Method Detail

      • createTestArchive

        @ShouldThrowException(jakarta.enterprise.inject.spi.DeploymentException.class)
        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
        Modules:
        • A - WEB-INF/classes BDA: Foo
        • B - WEB-INF/lib BDA: Cat, CatInterceptor, CatInterceptorBinding
        Interceptor is not enabled in any BDA.
        Returns:
        test archive
      • testInterceptorNotAvailableForInjection

        @SpecAssertion(section="inter_module_injection",
                       id="b")
        public void testInterceptorNotAvailableForInjection()