Package com.episode6.mockspresso2.plugins.mockito
Functions
Use mockito to generate fallback objects for dependencies that are not present in the mockspresso instance
Add a mock with the supplied params as a dependency in this mockspresso instance. Mock will be bound with the supplied qualifier annotation. If you need a reference to the mock dependency, consider MockspressoProperties.mock instead.
Add a mock with the supplied params as a dependency in this mockspresso instance. Mock will be bound with the supplied qualifier annotation and will be accessible via the returned lazy.
Create a real object of T using mockspresso then wrap it in a mockito spy. This spy will be part of the mockspresso graph and can be used by other real objects (and then verified in test code).
Create a real object of type IMPL using mockspresso then wrap it in a mockito spy (the object will be bound using type BIND). This spy will be part of the mockspresso graph and can be used by other real objects (and then verified in test code).
Create a real object of type IMPL using mockspresso then wrap it in a mockito spy (the object will be bound using type BIND). This spy will be part of the mockspresso graph and can be used by other real objects (and then verified in test code). The stubbing will be applied to the spy before it is injected as a dependency into other classes.