How to mock a function with Generic return type in JMockit Expectations

后端 未结 0 1283
天涯浪人
天涯浪人 2021-01-12 11:12

I expect the mocked method to return a specific class instead of the super class, but a ClassCastException was thrown. Not sure how to define the Expectations correctly. An

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