MockMvc: mocking httpServletRequest.getAttribute()

后端 未结 0 839
刺人心
刺人心 2021-01-13 17:14

I need to test a controller that has a service and a controller advice.

It is easy to mock that service and set up a controller advice, but I am struggling with mocki

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