Checking for exceptions in JUnit
Sometimes I just want to check for an exception without
- Exiting the test case
- Adding a lot of exception handling crap in the test code.
Java 8 to the rescue!
Sometimes I just want to check for an exception without
Java 8 to the rescue!