willReturnConsecutively

infix inline fun <T> BDDMockito.BDDMyOngoingStubbing<T>.willReturnConsecutively(ts: List<T>): BDDMockito.BDDMyOngoingStubbing<T>

Sets consecutive return values to be returned when the method is called. Same as BDDMyOngoingStubbing.willReturn, but accepts list instead of varargs.