You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Call toString() to force initialization of the mocked instances
- Use produceWith instead of createWith
- Use addTransitiveTypeClosure instead of addType to support more than just one type
- Minor refactoring of the processMockBean method
- Add unit test
- Re-work HelidonTestNgListener to initialize the testInstance with an extension
Fixeshelidon-io#9397Fixeshelidon-io#9411
Environment Details
Problem Description
HelidonTestNgListener
lets TestNG create the test instance and then uses CDI to perform injection.It uses
beanManager.createAnnotatedType(clazz)
which discards anything done by extensions withProcessAnnotatedType
.E.g
MockBeansCdiExtension
adds an@Inject
annotation programmatically.Steps to reproduce
The text was updated successfully, but these errors were encountered: