Class MissingValueOnObserverMethodInjectionTest

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

    public class MissingValueOnObserverMethodInjectionTest
    extends org.jboss.arquillian.testng.Arquillian
    A test to verify that a ConfigProperty-annotated injection point in an observer method with a payload that is not an instance of Optional that does not have a corresponding configuration property value set will cause a DeploymentException to be thrown.
    Author:
    Laird Nelson
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jboss.arquillian.testng.Arquillian

        org.jboss.arquillian.testng.Arquillian.UpdateResultListener
    • Field Summary

      • Fields inherited from class org.jboss.arquillian.testng.Arquillian

        ARQUILLIAN_DATA_PROVIDER
    • Constructor Detail

      • MissingValueOnObserverMethodInjectionTest

        public MissingValueOnObserverMethodInjectionTest()
    • Method Detail

      • deploy

        @ShouldThrowException(jakarta.enterprise.inject.spi.DeploymentException.class)
        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
      • test

        public void test()