atrium-api-fluent-en_GB-jvm / ch.tutteli.atrium.api.fluent.en_GB / containsKey

containsKey

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

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

Exceptions

AssertionError - Might throw an AssertionError if the assertion made is not correct.

Return
An Expect for the current subject of the assertion.