assertk / assertk.assertions / hasToString

hasToString

(common, jvm) fun Assert<Any?>.hasToString(string: String): Unit

Asserts the value has the expected string from it's toString.