Skip to content

Missing !! on after() #348

@xgleich1

Description

@xgleich1

Hi and first of all a huge thanks for your library!

While using it to test asynchronous code I found a minor oversight:

fun after(millis: Long): VerificationAfterDelay? {
return Mockito.after(millis)
}

The return type is nullable. This gives me an compile error when using it in verify().

Or is this maybe intented?

Kind regards
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions