Class | Description |
---|---|
MockitoExtension |
This class is responsible to add mocks as CDI beans.
|
MockitoInjector |
this class is instantiated when the FallbackPropertyInjector is set
it is generally when the container is started
it will reset mockito context (stored mocks) and do the mock injections in the test class
|
MockRegistry |
this class is used as a storage for mocks
this logic could be enhanced but currently we store mock by types/name
Note: only injected mocks are managed
|