Class NonPassivationManagedBeanHasPassivatingScopeTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class NonPassivationManagedBeanHasPassivatingScopeTest
    extends AbstractTest
    Author:
    Nicklas Karlsson, David Allen, Martin Kouba
    • Constructor Detail

      • NonPassivationManagedBeanHasPassivatingScopeTest

        public NonPassivationManagedBeanHasPassivatingScopeTest()
    • Method Detail

      • createTestArchive

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

        @SpecAssertion(section="passivation_validation",id="a") @SpecAssertion(section="passivating_scopes",id="a")
        public void testSimpleWebBeanWithNonSerializableImplementationClassFails()