有了Java 8中对lambda的支持,这是在JUnit中测试异常的规范方法。 根据JUnit文档: import static org.junit.jupiter.api.Assertions.
確定! 回上一頁