assertk.assertions / hasToString

hasToString

fun <T> Assert<T>.hasToString(string: String): Unit

Platform and version requirements: Common

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