Hi Sergey and first of all a huge thanks for your lib!
I might have found a minor oversight:
Copy code
/**
* Allows verifying over a given period. It causes a verify to wait for a specified period of time for a desired
* interaction rather than failing immediately if has not already happened. May be useful for testing in concurrent
* conditions.
*/
fun after(millis: Long): VerificationAfterDelay? {
return Mockito.after(millis)
}
The returned type is nullable but I guess it should not be, since we would have to write:
verify(widening, after(delay)!!).invoke()
?
e
enleur
10/30/2018, 6:25 PM
@Daniel itโs not my lib, just posted about it ๐ @nhaarman is the author