Mocking of RestTemplate is giving always null

后端 未结 0 704
我在风中等你
我在风中等你 2021-02-12 18:25
I am trying to mock the RestTemplate method through mockito but it always returning null.

mockito code:

Mockito.when(template.exchange(Ar         


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