mock Construction
Creates a thread-local mock for constructions of T.
See also
Mockito. mock Construction
inline fun <T> mockConstruction(mockInitializer: MockedConstruction.MockInitializer<T>): MockedConstruction<T>
Creates a thread-local mock for constructions of T.
Parameters
mock Initializer
a callback to prepare the methods on a mock after its instantiation
See also
Mockito. mock Construction