containsPair function

Matcher containsPair (
  1. dynamic key,
  2. dynamic value
)

Returns a matcher which matches maps containing the key-value pair with key => value.

Implementation

Matcher containsPair(key, value) => _ContainsMapping(key, wrapMatcher(value));