title: CollectionAssert.Contains(myList, myItem) != Assert.IsTrue(myList.Contains(myItem))
body: <p>I have been looking at implementing unit tests for a controller controller, specifically around testing collections. On the <a href="http://msdn.microsoft.com/en-us/library/ff847525.aspx" rel="nofollow">MSDN example</a> the use of <code>CollectionAssert.Contains()</code> confirms whether an object appears in a list.</p>
  
  <p>I have a <code>List&lt;myObject&gt;</code> where <code>myObject</code> implements <code>IEquatable</code> (i.e. implementing a <code>Equals()</code>, so that the <code>List&lt;myObject&gt;.Contains()</code> is able to correctly discern the existence (or non-existence of an object of type <code>myObject</code> in the list).</p>
  
  <p>The <code>CollectionAssert.Contains()</code> (for an MS-VS test, not nunit) function however, does not appear to call <code>Equals()</code>.
  So I'm wondering if it's for use on simple arrays? 
  If not, how is it able to compare custom objects?</p>
  
  <p>I've simply changed my assert in this case to <code>Assert.IsTrue(myList.Contains(myObjectInstance))</code>.</p>