我正在使用Mockito进行后期单元测试.我很困惑,当使用doAnswerVS thenReturn.
doAnswer
thenReturn
任何人都可以帮我详细吗?到目前为止,我已经尝试过了thenReturn.
java mockito
java ×1
mockito ×1