MapChecks<K, V> extension
Properties
-
entries
→ Subject<
Iterable< MapEntry< >K, V> > -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >no setter -
keys
→ Subject<
Iterable< K> > -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >no setter -
length
→ Subject<
int> -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >no setter -
values
→ Subject<
Iterable< V> > -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >no setter
Methods
-
containsKey(
K key) → void -
Available on Subject<
Expects that the map containsMap< , provided by the MapChecks extensionK, V> >key
according to Map.containsKey. -
containsKeyThat(
Condition< K> keyCondition) → void -
Available on Subject<
Expects that the map contains some key such thatMap< , provided by the MapChecks extensionK, V> >keyCondition
is satisfied. -
containsValue(
V value) → void -
Available on Subject<
Expects that the map containsMap< , provided by the MapChecks extensionK, V> >value
according to Map.containsValue. -
containsValueThat(
Condition< V> valueCondition) → void -
Available on Subject<
Expects that the map contains some value such thatMap< , provided by the MapChecks extensionK, V> >valueCondition
is satisfied. -
deepEquals(
Map< Object?, Object?> expected) → void -
Available on Subject<
Expects that the map contains entries that are deeply equal to the entries ofMap< , provided by the MapChecks extensionK, V> >expected
. -
isEmpty(
) → void -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> > -
isNotEmpty(
) → void -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >
Operators
-
operator [](
K key) → Subject< V> -
Available on Subject<
Map< , provided by the MapChecks extensionK, V> >