How do you assert that a certain exception is thrown in JUnit 4 tests? Let's write some business logic which will throw an exception.
確定! 回上一頁