You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mockito-Kotlin is a wrapper library around Mockito.
It provides top-level functions to allow for a more idiomatic approach while using Mockito in Kotlin.
Furthermore, Mockito returns null values for calls to matchers like any(), which leads to NullPointerException when passing them to non-nullable parameters. Mockito-Kotlin solves that issue.
Mockito-Kotlin does not intend to alter any of the functionality that Mockito provides, except in places where crucial for working with Kotlin.