
Testing for Expected Exceptions in JUnit 5: Quite an Improvement
...an IllegalArgumentException if Currency is a precious metal (like gold, XAU or silver, XAG) or a pseudo-currency (like XTS or XXX).And another test to make sure that the plus() function throws an exception that indicates a currency conversion is...