Assert.Contains

Chris edited this page Sep 5, 2016 · 3 revisions
Clone this wiki locally

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...