SpringBootMockResolver

open class SpringBootMockResolver : MockResolver

Deprecated (for removal)

Since version 3.4.0

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.

Author

Andy Wilkinson

Since

2.4.0

Deprecated

since 3.4.0 for removal in 3.6.0 in favor of Spring Framework's MockitoBean and MockitoSpyBean

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun resolve(instance: Any): Any