Class NonPassivatingConstructorParamTest

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

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

      • NonPassivatingConstructorParamTest

        public NonPassivatingConstructorParamTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="passivation_validation",id="ac") @SpecAssertion(section="passivation_capable_injection_points",id="d")
        public void testBeanWithNonSerializableImplementationInjectedIntoNonTransientFieldOfBeanWithPassivatingScopeFails()