Suspension functions can be called only within coroutine body
Closed this issue · 1 comments
Irfanulhaq1991 commented
Could execute every and verify on coroutine suspend methods
every { userRemoteDataSource.authenticate(isAny(),isAny()) } returns Result.success(UserRemoteDto("",200)) usrRepo.authenticate("###","###") verify { userRemoteDataSource.authenticate(isAny(),isAny()) }
SalomonBrys commented
Use: