Class InterceptorLifeCycleTest

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

    @SpecVersion(spec="interceptors",
                 version="1.2")
    public class InterceptorLifeCycleTest
    extends AbstractTest
    • Constructor Detail

      • InterceptorLifeCycleTest

        public InterceptorLifeCycleTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="interceptor_lifecycle",
                       id="ca")
        public void testInterceptorMethodsCalledAfterDependencyInjection()
      • testInterceptorInstanceCreatedWhenTargetInstanceCreated

        @SpecAssertion(section="interceptor_lifecycle",
                       id="ba")
        public void testInterceptorInstanceCreatedWhenTargetInstanceCreated​(jakarta.enterprise.inject.Instance<Warrior> instance)