how to approach Spring boot constructor based dependency injection confusion/frustration when unit testing a component class with several dependencies

后端 未结 0 900
迷失自我
迷失自我 2021-01-16 20:47

I am trying to write unit tests for a Spring boot service using JUnit 4 and Mockito.

I used constructor based dependency injection for my service, The Signature is:

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