Class ObserverMethodParameterInjectionValidationTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class ObserverMethodParameterInjectionValidationTest
    extends AbstractTest
    Validates that injection points on observer methods are validated.
    Author:
    Martin Kouba
    • Constructor Detail

      • ObserverMethodParameterInjectionValidationTest

        public ObserverMethodParameterInjectionValidationTest()
    • Method Detail

      • getDeployment

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

        @SpecAssertion(section="observes",id="i") @SpecAssertion(section="unsatisfied_and_ambig_dependencies",id="af")
        public void test()