How to mock staic method of 3rd party api call using spock?

后端 未结 0 1904
说谎
说谎 2021-01-05 17:47

I am using micronaut framework and spock for writing test case of API. I am trying to create testcase of my API which internally calls PaymentIntent.retrieve() static method

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