We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#Every
Matches if all elements in a collection do:
[Test] public void Every() { var containsA = Contains.String("a"); var hasAs = new Every(containsA); var collection = new [] { "aaa", "bba", "cca" }; Assert.That(collection, hasAs); // or alternatively Assert.That(collection, Every.Item(Contains.String("a"))); }