Class SpringBootMockResolver
java.lang.Object
org.springframework.boot.test.mock.mockito.SpringBootMockResolver
- All Implemented Interfaces:
org.mockito.plugins.MockResolver
A
MockResolver
for testing Spring Boot applications with Mockito. It resolves
mocks by walking the proxy chain until the target or a non-static proxy is found.- Since:
- 2.4.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SpringBootMockResolver
public SpringBootMockResolver()
-
-
Method Details
-
resolve
- Specified by:
resolve
in interfaceorg.mockito.plugins.MockResolver
-