title: Testing property set with a List in Rhino Mocks
body: <p>I feel like I have lost my mind because I am sure I have done this before. Hopefully one of you can point me in the right direction.</p>
  
  <p>Essentially I have an view that I want to test that the presenter is correctly setting the property with a list of objects. Example:</p>
  
  <pre><code>public ComplexDto{
     public string name{get;set;}
     public string description{get;set;}
  }
  
  public interface ITestView{
   IList&lt;ComplexDto&gt; dto{get;set;}
  }
  </code></pre>
  
  <p>Within the Presenter it sets a list like:</p>
  
  <pre><code>...
  var dtos = new List&lt;ComplexDto&gt;();
  dtos.add(new ComplexDto(){name="test name", description="this is some description"}
  view.dto = dtos;
  ...
  </code></pre>
  
  <p>I need to test that that contents of the list of the dto work.</p>
  
  <p>I have tried GetArgumentsForCallsMadeOn but I think this does not work with properties.</p>
  
  <p>Thanks for any help!</p>