Class SpringBootMockResolver
java.lang.Object
org.springframework.boot.test.mock.mockito.SpringBootMockResolver
- All Implemented Interfaces:
org.mockito.plugins.MockResolver
@Deprecated(since="3.4.0",
forRemoval=true)
public class SpringBootMockResolver
extends Object
implements org.mockito.plugins.MockResolver
Deprecated, for removal: This API element is subject to removal in a future version.
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
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
SpringBootMockResolver
public SpringBootMockResolver()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
resolve
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
resolve
in interfaceorg.mockito.plugins.MockResolver
-
MockitoBean
andMockitoSpyBean