You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have mock A built and given to me. Now, I need to mock a suspend API to return a value foo.
Example:
@Inject lateinit var mockA: A // using dagger to provide mocks configured in a separate module.
@Test
fun test1() = runBlocking {
// how do i mock a suspend method on mockA?
}