I did it on other of my projects, I changed the dispatchers more than once in the same test, I guess the problem is with the baseUrl that if I try to put the
mockWebServer.url("/")
it says NetworkOnMainException... I'm trying to do it with a provider of Dagger and then using it, but it says the same...