J JAVA – How do you assert that a certain exception is thrown in JUnit 4 tests? April 1, 2017 4 Min Read 0 8 April 1, 2017 4 Min Read 0 8 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. JAVA Wikitechy Editor Continue Reading