mockito 多层调用_连续调用的Mockito迭代器样式存根
mockito 验证调用Sometimes we want to mock different responses for the consecutive calls on the same method. We can create then* methods chain with when() to specify iterator style stubbing in Mockito. 有时,...