MapChecks<K, V> extension
Properties
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>