JAVA – How do you assert that a certain exception is thrown in JUnit 4 tests? JUnit provides an option of tracing the exception handling of code.
Testing for expected exceptions in Junit
1 Article
1
JAVA – How do you assert that a certain exception is thrown in JUnit 4 tests? JUnit provides an option of tracing the exception handling of code.