JUnit Test-FAQ. # Answer 2. Edit: Now that JUnit 5 and JUnit 4.13 have been released, the best option would be to use Assertions.assertThrows() ( ...
確定! 回上一頁