摘要: 请参考下面有关于打标的代码。 //You can mock concrete classes, not just interfaces LinkedList mockedList = mock(LinkedList.class); //stubbing when(mockedList.get(0)) 阅读全文
posted @ 2019-09-18 11:28 huyuchengus 阅读(294) 评论(0) 推荐(0) 编辑