Mock all methods that start with a specific string

后端 未结 0 698
我寻月下人不归
我寻月下人不归 2020-11-21 05:08

I\'m trying to mock a class which has a lot of "fluent" setters and I was wondering if there\'s an easy way to mock all of them in one go.

For example I hav

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