Don't have Telegram yet? Try it now!
https://lankydanblog.com/2019/01/26/testing-exceptions-in-kotlin-with-assertfailswith/
Testing exceptions in Kotlin with assertFailsWith