Class ObserverMethodParameterAnnotatedAsSyncAndAsyncTest

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

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

      • ObserverMethodParameterAnnotatedAsSyncAndAsyncTest

        public ObserverMethodParameterAnnotatedAsSyncAndAsyncTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="observes",
                       id="ba")
        public void observerMethodMustBeSyncOrAsync()