Package org.jboss.weld.junit5.auto
Class TestInstanceInjectionExtension<T>
java.lang.Object
org.jboss.weld.junit5.auto.TestInstanceInjectionExtension<T>
- All Implemented Interfaces:
Extension
Extension that makes a test instance appear like a regular bean even though instantiated by JUnit.
Injection into all test instances, also
@Nested ones, is handled in
WeldInitiator.addObjectsToInjectInto(java.util.Set<java.lang.Object>) and related.
Proper handling of all other CDI annotations such as @Produces is supported
only on top level test classes.-
Method Summary