Class SyntheticBeanTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class SyntheticBeanTest
    extends AbstractTest

    This test was originally part of Weld test suite.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • SyntheticBeanTest

        public SyntheticBeanTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="bm_obtain_bean",
                       id="a")
        public void testRegisteredBean()
      • testSerializableBean

        @SpecAssertion(section="bm_obtain_bean",
                       id="a")
        public void testSerializableBean()
      • testSyntheticBeanIntercepted

        @SpecAssertions(@SpecAssertion(section="binding_interceptor_to_bean",id="a"))
        public void testSyntheticBeanIntercepted()
      • testSyntheticProducerField

        @SpecAssertion(section="bm_obtain_bean",
                       id="b")
        public void testSyntheticProducerField()
      • testSyntheticProducerMethod

        @SpecAssertion(section="bm_obtain_bean",
                       id="b")
        public void testSyntheticProducerMethod()
      • testSyntheticDecorator

        @SpecAssertion(section="bm_obtain_bean",
                       id="a")
        public void testSyntheticDecorator()