Why do I Keep getting a NPE when I try stub any jdbcTemplate methods while testing a Spring boot service?

后端 未结 0 1894
遥遥无期
遥遥无期 2021-01-16 02:42

I am trying to test a Spring boot service method using JUnit 4 and Mockito. For some reason the test fails with a NPE whenever a jdbcTemplate call is made. I mocked NamedP

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