Community

Checking What’s Thrown in Java Tests

(Ashley Frieze) Someone came up with the idea of using try and catch blocks in unit tests in Java: