MapExpector<K, V> extension
Expectations for Map.
Properties
- isEmpty → void
-
Checks that the tested map is empty.
no setter
- isNotEmpty → void
-
Checks that the tested map is not empty.
no setter
Methods
-
containsKey(
K key) → void -
Checks that the tested map contains a
key
. -
containsPair(
K key, V value) → void -
Checks that the tested map contains the
key
-value
pair. -
hasLength(
int length) → void -
Checks that the tested map has the good
length
.