Class AmbiguousInjectableReferenceTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class AmbiguousInjectableReferenceTest
    extends AbstractTest
    Tests a custom injection point that resolves to two different bean instances which should always result in an exception.
    Author:
    David Allen
    • Constructor Detail

      • AmbiguousInjectableReferenceTest

        public AmbiguousInjectableReferenceTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertions(@SpecAssertion(section="bm_obtain_injectable_reference",id="bc"))
        public void testUnsatisfiedReference()