Adds the following new components.
-
ContainsEntries: This matcher compares Map instances using a
MapEntryMatcherto perform a "deep match" on each map entry. When you build your ownBaseCompositeMatcherto compare complex objects, thecontainsEntriesMatchingmethod makes it possible to compare object properties of type Map. -
MapEntryMatcher: A composite matcher for Map entries. You can contruct one using a
MapEntryMatcher.Supplier, specifying a value matcher and (optionally) a key matcher. The default key matcher isequalTo.