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