SpringBootMockResolver

open class SpringBootMockResolver : 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.

Author

Andy Wilkinson

Since

2.4.0

Constructors

Link copied to clipboard
constructor()

Functions

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