https://kotlinlang.org logo
#coroutines
Title
# coroutines
g

groostav

03/26/2017, 1:01 AM
It might just be in my reading this, but remember methods in kotlin are
final
by default, are you sure your actually hitting the mockity proxy and not the actual method body? you need it to be an
open suspend fun
for this to stand any chance
n

nquinn

03/26/2017, 4:30 PM
https://github.com/NathanQuinn/mockito-coroutines-sample I posted this up as an example, I think it shows the issue I am trying to solve
I don’t believe that open is necessary on an interface, and it isn’t required for any of my other Kotlin interfaces that aren’t suspending functions that return types
4 Views