Description
CDI 1.0 feature is that it cannot insert null values through dependency injection. But it is happening. It is due to check that decides what CDI modules are actually used by server (ie EAP 7.1 which is using jar at this path: jboss-eap-7.1/modules/system/layers/base/javax/enterprise/api/main/cdi-api-1.2.0.redhat-2.jar). And thus, tests will always fail in this case.