Class ProcessObserverMethodErrorTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class ProcessObserverMethodErrorTest
    extends AbstractTest
    Tests adding definition errors to the event object.
    Author:
    David Allen, Martin Kouba
    • Constructor Detail

      • ProcessObserverMethodErrorTest

        public ProcessObserverMethodErrorTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="process_observer_method",
                       id="da")
        public void testAddDefinitionError()