Class ConstructorHasDisposesParameterTest

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

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

      • ConstructorHasDisposesParameterTest

        public ConstructorHasDisposesParameterTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertions(@SpecAssertion(section="declaring_bean_constructor",id="da"))
        public void testConstructorHasDisposesParameter()
                                                 throws Exception
        Throws:
        Exception