How to write junit test for Spring Service that call rest api

后端 未结 0 1156
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 19:14

I have a Spring Service (UserService) that in a function of this class , I request to another url by HttpClient. and now, i want write junit test for this class and function

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