kotlin.test / kotlin.test.testng / TestNGAsserter / fail fail TestNG 1.0 fun fail ( message : String ? ) : Nothing (source) fun fail ( message : String ? , cause : Throwable ? ) : Nothing (source)