kotlin.test / kotlin.test.junit / JUnitAsserter / fail fail JUnit 1.0 fun fail(message: String?): Nothing(source) fun fail(message: String?, cause: Throwable?): Nothing(source)