kotlin.test / kotlin.test.junit5 / JUnit5Asserter / fail fail JUnit5 1.0 fun fail(message: String?): Nothing(source) fun fail(message: String?, cause: Throwable?): Nothing(source)