gildor
01/31/2018, 4:19 PMany
returns null. You can check mockito-kotlin that provides non-null version of any
https://github.com/nhaarman/mockito-kotlin
But maybe I’m wrong and this is issue with suspend functions and mockito, but there is some support of suspend functions on mockito, so it should work