How can you mock a method that returns an interface?

后端 未结 0 714
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 01:11

I need to mock a method that returns an interface and I can\'t figure it out. This was my try. I don\'t know how what to return, as you can not return an interface.



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