Closed Irfanulhaq1991 closed 8 months ago
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()) }
Use:
everySuspend
verifyWithSuspend
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()) }