Kotlin Mockito veirfy not invoked in a coroutine test
I got an error while doing a kotlin coroutine test. I'm pretty sure the function is called because I saw the logs. I'm not sure what does the error message mean. Is this related to coroutine (running on different thread) or the context (using a customized context to trigger onStart)?
Wanted but not invoked: testActivity.fetch();
-> at com.example.cws.testActivity.fetch(testActivity.kt:322)
However, there was exactly 1 interaction with this mock:...