Testing for exceptions in JUnit is something we have to deal with! We want to test if an exception occurs in a particular situation, or even if the exception contains a particular message. The question is: How to test for an … Continue reading
The post How to test for an exception in JUnit appeared first on JDriven Blog.