strikt-core / strikt.assertions / isNotSameInstanceAs

isNotSameInstanceAs

infix fun <T> Builder<T>.isNotSameInstanceAs(expected: Any?): Builder<T>

Asserts that the subject is not the same instance as expected according to the standard Kotlin === operator.

Parameters

expected - the expected instance.