Class InterceptorBindingResolutionTest

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

    @SpecVersion(spec="interceptors",
                 version="1.2")
    public class InterceptorBindingResolutionTest
    extends AbstractTest
    Interceptor resolution test.
    Author:
    Martin Kouba
    • Constructor Detail

      • InterceptorBindingResolutionTest

        public InterceptorBindingResolutionTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="binding_int_to_component",id="e") @SpecAssertion(section="int_resolution",id="ca") @SpecAssertion(section="int_resolution",id="da") @SpecAssertion(section="int_resolution",id="db") @SpecAssertion(section="int_resolution",id="dc") @SpecAssertion(section="other_sources_of_int_bindings",id="a") @SpecAssertion(section="int_binding_types_with_additional_int_bindings",id="a") @SpecAssertion(section="int_binding_types_with_additional_int_bindings",id="b")
        public void testBusinessMethodInterceptorBindings​(MessageService messageService,
                                                          MonitorService monitorService)
      • testLifecycleInterceptorBindings

        @SpecAssertion(section="int_resolution",id="b") @SpecAssertion(section="int_with_multiple_bindings",id="a")
        public void testLifecycleInterceptorBindings()
      • testConstructorInterceptorBindings

        @SpecAssertion(section="int_resolution",id="b") @SpecAssertion(section="int_resolution",id="cc")
        public void testConstructorInterceptorBindings()