Skip to content

Release 1.3.0

Latest

Choose a tag to compare

@kerrykimbrough kerrykimbrough released this 26 Apr 15:49

Adds the following new components.

  • ContainsEntries: This matcher compares Map instances using a MapEntryMatcher to perform a "deep match" on each map entry. When you build your own BaseCompositeMatcher to compare complex objects, the containsEntriesMatching method 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 is equalTo.