Package org.mockito.plugins
Interface MockResolver
-
public interface MockResolver
A mock resolver offers an opportunity to resolve a mock from any instance that is provided to theMockito
-DSL. This mechanism can be used by frameworks that provide mocks that are implemented by Mockito but which are wrapped by other instances to enhance the proxy further.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
resolve(Object instance)
Returns the provided instance or the unwrapped mock that the provided instance represents.
-