Matcher isNot(matcher)

This returns a matcher that inverts matcher to its logical negation.

Source

Matcher isNot(matcher) => new _IsNot(wrapMatcher(matcher));