Skip to content

Assert.Contains

jnm2 edited this page Jun 14, 2017 · 6 revisions

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

Clone this wiki locally