Android : Unit test EventBus handler

后端 未结 0 969
执念已碎
执念已碎 2021-02-05 16:27

I want to test the method in my viewmodel that handles an EventBus event.

class TestViewModel(){
    fun onEventMainThread(event: TestEvent) {
        doThis()
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题