NullpointerException when mocking dao method

前端 未结 0 646
日久生厌
日久生厌 2021-01-21 04:24

I started writing testclass for my Java-Spring-project. I use JUnit and Mockito But no matter I do, I always get a NullpointerException, for the below statement.

         


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