在编写单元测试时,一个重要的工作就是编写断言(Assertion),而JUnit自带的断言机制和Hamcrest的 assertThat 都不那么好用。 利用AssertJ,可以让单元 ...
確定! 回上一頁