Question about unit tests. I got a repo which I wo...
# coroutines
h
Question about unit tests. I got a repo which I would like to test. It has an ApiService dependency which I mock with mockk. I would like to test, that when I call a suspending function of the repo it calls a certain api function on the correct dispatcher. I know how to verify the api call but have no idea how to make sure the correct dispatcher is used. Is this possible?