Class EventBeanObserverNotificationTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class EventBeanObserverNotificationTest
    extends AbstractObserverNotificationTest

    This test was originally part of Weld test suite.

    Note that we have to declare test methods on test class (not abstract superclass) because of the way we analyze assertions coverage.

    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

      • EventBeanObserverNotificationTest

        public EventBeanObserverNotificationTest()
    • Method Detail

      • createTestArchive

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testNotifyInvoked

        @SpecAssertion(section="observer_notification",id="fb") @SpecAssertion(section="after_bean_discovery",id="eb") @SpecAssertion(section="observer_resolution",id="k")
        public void testNotifyInvoked()