Matcher isIn(expected)

Returns a matcher that matches if the match argument is in the expected value. This is the converse of contains.

Source

Matcher isIn(expected) => new _In(expected);