See the JUnit 5 User Guide. Both assertions can accept, instead of an Executable, a ThrowingSupplier, representing any generic block of code that returns ...
確定! 回上一頁