Class NamedNonFieldInjectionPointTest

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

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

      • NamedNonFieldInjectionPointTest

        public NamedNonFieldInjectionPointTest()
    • Method Detail

      • createTestArchive

        @ShouldThrowException(jakarta.enterprise.inject.spi.DefinitionException.class)
        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testNamedInitializerMethodInjectionPointNotAllowed

        @SpecAssertion(section="named_at_injection_point",
                       id="b")
        public void testNamedInitializerMethodInjectionPointNotAllowed()
                                                                throws Exception
        Throws:
        Exception