inline expect fun <reified T : Throwable> assertFailsWith( block: () -> Unit): Unit
Asserts that a block fails with a specific exception of type T being thrown.