MapChecks<K, V> extension

on

Properties

entries Subject<Iterable<MapEntry<K, V>>>
no setter
keys Subject<Iterable<K>>
no setter
length Subject<int>
no setter
values Subject<Iterable<V>>
no setter

Methods

containsKey(K key) → void
Expects that the map contains key according to Map.containsKey.
containsKeyThat(Condition<K> keyCondition) → void
Expects that the map contains some key such that keyCondition is satisfied.
containsValue(V value) → void
Expects that the map contains value according to Map.containsValue.
containsValueThat(Condition<V> valueCondition) → void
Expects that the map contains some value such that valueCondition is satisfied.
deepEquals(Map<Object?, Object?> expected) → void
Expects that the map contains entries that are deeply equal to the entries of expected.
isEmpty() → void
isNotEmpty() → void

Operators

operator [](K key) Subject<V>