Check if the passed map
contains the passed value
.
Check if the passed map
contains the passed value
.
a map about which an assertion is being made
value of which should be contained in the passed map
true if the passed map contains the passed value
Supertrait for typeclasses that enable
contain value
matcher syntax.A
ValueMapping[M]
provides access to the "value mapping nature" of typeM
in such a way thatcontain
value
matcher syntax can be used with typeM
. AnM
can be any type for whichcontain
value
syntax makes sense. ScalaTest provides implicit implementations forscala.collection.GenMap
andjava.util.Map
. You can enable thecontain
value
matcher syntax on your own typeU
by defining aValueMapping[U]
for the type and making it available implicitly.ScalaTest provides implicit
ValueMapping
instances forscala.collection.GenMap
, andjava.util.Map
in theValueMapping
companion object.