Class CdiOptionalInjectionTest

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

    public class CdiOptionalInjectionTest
    extends org.jboss.arquillian.testng.Arquillian
    Verify injection of Optional<T> fields.
    Author:
    Mark Struberg
    • Constructor Detail

      • CdiOptionalInjectionTest

        public CdiOptionalInjectionTest()
    • Method Detail

      • deploy

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive deploy()
      • testOptionalInjection

        public void testOptionalInjection()
      • testOptionalInjectionWithNoDefaultValueOrElseIsReturned

        public void testOptionalInjectionWithNoDefaultValueOrElseIsReturned()