Class ParameterAnnotatedDisposesTest

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

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

      • ParameterAnnotatedDisposesTest

        public ParameterAnnotatedDisposesTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="declaring_producer_method",
                       id="da")
        public void testProducerMethodWithParameterAnnotatedDisposes()
                                                              throws Exception
        Throws:
        Exception