inline fun <reified T : Any> OngoingStubbing<T>.thenReturnMock(): OngoingStubbing<T> = this.thenReturn(mock<T>())
operator fun <T> InvocationOnMock.get(index: Int): T = getArgument(index)
inline fun <reified T : Any> OngoingStubbing<T>.thenReturnMock(): OngoingStubbing<T> = this.thenReturn(mock<T>())
operator fun <T> InvocationOnMock.get(index: Int): T = getArgument(index)