kotlin.test / kotlin.test / Asserter / assertNull assertNull Common JVM JS Native 1.0 open fun assertNull(message: String?, actual: Any?): Unit(source) Asserts that the specified value is null. Parameters message - the message to report if the assertion fails.