exceptions Handling exceptions in tests: Junit & Kotest Exceptions are crucial part of some Java APIs. How to assert that exceptions was thrown? In this note you will examples of various exception assertion techniques.