Thread
#feed
    enleur

    enleur

    3 years ago
    Daniel

    Daniel

    3 years ago
    Hi Sergey and first of all a huge thanks for your lib! I might have found a minor oversight:
    /**
     * 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()
    ?
    enleur

    enleur

    3 years ago
    @Daniel it’s not my lib, just posted about it 🙂 @nhaarman is the author