Mockito Exception org.mockito.exceptions.misusing.WrongTypeOfReturnValue:

后端 未结 0 730
忘掉有多难
忘掉有多难 2021-02-13 07:40

I\'m trying to test my code with Mockito and JUnit, but it keeps giving me a wrong type of return value exception. Here the test code I\'ve written.

when(eventMod         


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