github mockito/mockito-kotlin 1.0.0

latest releases: 5.4.0, 5.3.1, 5.3.0...
7 years ago

This is the first major release for Mockito-Kotlin.

What is Mockito-Kotlin?

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.

Mockito-Kotlin does not intend to alter any of the functionality that Mockito provides, except in places where crucial for working with Kotlin.

See the Wiki to find out how to work with Mockito-Kotlin.

Don't miss a new mockito-kotlin release

NewReleases is sending notifications on new releases.