mockito / mockito-kotlin

Using Mockito with Kotlin
MIT License
3.11k stars 202 forks source link

Manually provide values for primitive types #352

Closed nhaarman closed 5 years ago

nhaarman commented 5 years ago

On the JVM, primitive types get unboxed automatically, leading to NPE's when the null quirk is used. Fixes #336