Class ObserverMethodWithParametertizedTypeTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class ObserverMethodWithParametertizedTypeTest
    extends AbstractTest
    Tests an observer method defined to observe an event type which is generic and a type variable
    Author:
    David Allen, Martin Kouba
    • Constructor Detail

      • ObserverMethodWithParametertizedTypeTest

        public ObserverMethodWithParametertizedTypeTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="observer_method_event_parameter",
                       id="ca")
        public void testObserverMethodCanObserveTypeVariable()
      • testObserverMethodCanObserveWildcardType

        @SpecAssertion(section="observer_method_event_parameter",
                       id="cb")
        public void testObserverMethodCanObserveWildcardType()
      • testObserverMethodCanObserveArrayTypeVariable

        @SpecAssertion(section="observer_method_event_parameter",
                       id="da")
        public void testObserverMethodCanObserveArrayTypeVariable()
      • testObserverMethodCanObserveArrayWildcard

        @SpecAssertion(section="observer_method_event_parameter",
                       id="db")
        public void testObserverMethodCanObserveArrayWildcard()