Assert.Contains - jnm2/nunit-docs-wiki GitHub Wiki

Assert.Contains is used to test whether an object is contained in a collection.

Assert.Contains(object anObject, ICollection collection);
Assert.Contains(object anObject, ICollection collection,
                string message, params object[] parms);

See also...

⚠️ **GitHub.com Fallback** ⚠️