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

containsOnlyEntriesOf

infix fun <K, V : Any, T : Map<out K, V?>> Expect<T>.containsOnlyEntriesOf(mapLike: MapLike): Expect<T> (source)
Deprecated: Use toContainOnlyEntriesOf; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a Map) contains only (in any order) the key-value pairs of the given mapLike.

Delegates to it contains o inAny order but only entriesOf

Return
an Expect for the subject of this expectation.