JUnit 5 允許在斷言中使用Lambda表示式,這個特性可以從開源的斷言庫AssertJ中可以看到。 AssertJ庫見: http://joel-costigliola.github.io/assertj/
確定! 回上一頁