kotlin.test / kotlin.test / Asserter / assertSame assertSame Common JVM JS Native 1.0 open fun assertSame( message: String?, expected: Any?, actual: Any?): Unit(source) Asserts that the specified values are the same instance. Parameters message - the message to report if the assertion fails.