I am using something like this to make any() matcher work with Kotlin: ``` fun <T> anyObject()...
d
I am using something like this to make any() matcher work with Kotlin:
Copy code
fun <T> anyObject(): T {
    Mockito.any<T>()
    return uninitialized()
}

private fun <T> uninitialized(): T = null as T
z
thanks, it works 😄