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
I am working with Kotlin, and this NullPointerException creates a lot of headaches.
The return value is non-nullable based on my research around the anyObject() functionality. I propose adding a method anyObjectOrNull() similar to Mockito.anyOrNull() from the mockito-kotlin extension.
I am working with Kotlin, and this
NullPointerException
creates a lot of headaches.The return value is non-nullable based on my research around the
anyObject()
functionality. I propose adding a methodanyObjectOrNull()
similar toMockito.anyOrNull()
from themockito-kotlin
extension.Below is a reproduction of this issue:
Relevant StackOverflow post
Is there anything possible to do? I can potentially contribute to this issue as it will significantly help me in my apps.
The text was updated successfully, but these errors were encountered: