strikt-core / strikt.assertions / isSameInstanceAs

isSameInstanceAs

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

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

Parameters

expected - the expected instance.