doc / ch.tutteli.atrium.api.infix.en_GB / containsKey

containsKey

infix fun <K, T : Map<out K, *>> Expect<T>.containsKey(key: K): Expect<T> (source)

Expects that the subject of this expectation (a Map) contains the given key.

Return
an Expect for the subject of this expectation.