Join Slack
Powered by
Hi folks, any idea how to simulate coroutine error...
# mockk
a
antoniomarin
03/04/2020, 3:49 PM
Hi folks, any idea how to simulate coroutine error in
UseCases
? I’ve tried with following, but it doesn’t work:
Copy code
coEvery { repository.consumeApi(params1) } throws IllegalAccessError()
I wonder is it even possible to do so?
2
Views
Open in Slack
Previous
Next