assertSame

fun <T> assertSame(expected: T, actual: T, message: String? = null)(source)

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

Since Kotlin

1.0