如果要使用更多的匹配器,则可以自己编写或使用hamcrest lib。 下面的示例演示如何在ArrayList ... -a-maven-project-junit-mockito-hamcrest-assertj.html为我工作。
確定! 回上一頁