JUnit 5: How to assert an exception is thrown? April 7, 2022 by IT Nursery JUnit 5: How to assert an exception is thrown?