How do you assert that a certain exception is thrown in JUnit 4 tests?如何使用JUnit4来测试某些代码引发异常?我当然可以这样做:[cc ...
確定! 回上一頁