Mockito: How to easily stub a method without mocking all parameters

后端 未结 0 1507
青春惊慌失措
青春惊慌失措 2021-02-11 20:01

I have a method i\'d like to stub but it has a lot of parameters. How can i avoid mocking all parameters but still stub the method.

Ex:

//Method to stub         


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