Hacker News new | ask | show | jobs
by afhof 4489 days ago
JUnit4 kind of helps with ExpectedExceptions. try-catch doesn't usually have a good reason to exist in unit tests.