Method equivalent for @InjectMocks
There is no public API in Mockito for mock injection. Plus as this annotation is mostly driven on the way things are laid out in a test, it is fairly related to the initialization phase of the test. Though it might change at some point in the future. However Mockito annotated fields can be initialized … Read more