mockito / mockito-kotlin

Using Mockito with Kotlin
MIT License
3.09k stars 198 forks source link

Fix issue #480 by widening the allowed types for lenient().whenever() #485

Closed hunterwerlla closed 12 months ago

hunterwerlla commented 12 months ago

Thank you for submitting a pull request! But first:

Issue #480 is caused by constraining the type to Any. To fix this, we can update it to have no constraint like the underlying Java code