Mockito when/then result still being passed to the method

前端 未结 0 1723
感情败类
感情败类 2021-01-25 16:15

I am getting unexpected behavior with Mockito.

I made a mistake with code below, I should have put the TodoService in the when/then. But the test below passes for some re

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