containsPair function

Matcher containsPair (dynamic key, dynamic value)

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

Implementation

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