The documentation shows examples of code that internally call: new SomeItemsConstraint(new EqualConstraint(expected));
That is mentioned in the Notes section of the article.
The article contents is correct, except for the title and constructor part.
The examples are short cuts to other constraints.
There is documentation for a
CollectionContainsConstraint
but no such class consists in the NUnit source code.The documentation shows examples of code that internally call:
new SomeItemsConstraint(new EqualConstraint(expected));
That is mentioned in theNotes
section of the article.The article contents is correct, except for the title and constructor part. The examples are short cuts to other constraints.