how to use mockk to mock a interface instance

前端 未结 0 1187
野趣味
野趣味 2021-01-04 10:56

having a interface defined as:

public interface EventListener {
    void onEvent(String evt);
}

in the place it is instantiated inline:

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