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

后端 未结 0 2035
夕颜
夕颜 2021-02-13 07:19

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         


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