title: How to mock System.DirectoryServices.SearchResult?
body: <p>If you have a method that needs to be tested that takes a list of SearchResults</p>
  
  <pre><code>public virtual void ProcessResults(IList&lt;SearchResult&gt; list)
  {
      //Code to tests here
  }
  </code></pre>
  
  <p>How do you mock up that list of SearchResult?</p>
  
  <p>Note: No low-level injection frameworks (eg TypeMock) allowed.</p>