Class GenericInitializerMethodTest

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

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

      • GenericInitializerMethodTest

        public GenericInitializerMethodTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="declaring_initializer",
                       id="ab")
        public void testGenericInitializerMethodNotAllowed()