forked from mockito/mockito-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Niek Haarman edited this page Aug 19, 2016
·
2 revisions
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 method like any()
, which can cause NullPointerExceptions
when passing them to non-nullable parameters. This library solves that issue by trying to create actual instances to return.