ghedeon
03/13/2019, 8:31 PMfun CoroutineScope.foo()
basically kills the usage of Mockito in my project, right? It has some support for suspended functions, but not extensions. So, mockk
is the only answer or there are workarounds? That's quite a change for a big codebase...Vsevolod Tolstopyatov [JB]
03/14/2019, 1:44 PMbasically kills the usage of Mockito in my project, rightdepends on whether this function is a member in some class (e.g.
class Foo { fun CoroutineScope.bar() {}
) or a top-level function.
Mockito works only for membersghedeon
03/14/2019, 1:58 PMbar()
from your snippet?