inline fun <T> whenever(methodCall: T): OngoingStubbing<T>
Enables stubbing methods. Use it when you want the mock to return particular value when particular method is called.
Alias for Mockito.when.