assertNotSame

fun <T> assertNotSame(illegal: T, actual: T, message: String? = null)(source)

Asserts that actual is not the same instance as illegal, with an optional message.

Since Kotlin

1.0