Class PrimitiveInjectionPointTest

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

    @SpecVersion(spec="cdi",
                 version="2.0")
    public class PrimitiveInjectionPointTest
    extends AbstractTest
    Test varios types of injection points of primitive types that resolve to a producer method or producer field that returns a null value at runtime. The container must inject the primitive type's default value as defined by the JSL 4.12.5 "Initial Values of Variables".
    Author:
    Martin Kouba
    • Constructor Detail

      • PrimitiveInjectionPointTest

        public PrimitiveInjectionPointTest()
    • Method Detail

      • createTestArchive

        @Deployment
        public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
      • testPrimitiveInjectionPointResolvedToNonPrimitiveProducerMethod

        @SpecAssertion(section="primitive_types_and_null_values",
                       id="b")
        public void testPrimitiveInjectionPointResolvedToNonPrimitiveProducerMethod()