assertSame

open fun assertSame(message: String?, expected: Any?, actual: Any?)(source)

Asserts that the specified values are the same instance.

Since Kotlin

1.1

Parameters

message

the message to report if the assertion fails.

open fun assertSame(message: String?, expected: Any?, actual: Any?)(source)

Asserts that the specified values are the same instance.

Since Kotlin

1.0

Parameters

message

the message to report if the assertion fails.