stubbing

inline fun <T : Any> stubbing(mock: T, stubbing: KStubbing<T>.(T) -> Unit)

Stub a mock with given stubbing configuration.

Parameters

mock

the mock to stub.

stubbing

the stubbing configuration to apply to the mock.