A small class that demonstrates how to implement
jUnit
's ExpectedException
by using the command pattern.
This code has been tested on Windows and Mac, with Oracle's JDK12 and IntelliJ.
You can find a thorough walkthrough and analysis of the code here and here.
Submit a pull request or contact jason.filippou@gmail.com
with any questions or suggestions.