title: RhinoMocks expecting complex object as a parameter
body: <p>I use RhinoMocks without problems for checking using AssertWasCalled if my method was called with simple parameters such as Arg.Is.Equal(1) etc.</p>
  
  <p>However, it fails when I try to expect a complex object of my own creation, e.g. </p>
  
  <pre><code>Arg&lt;CustomClass&gt;.Is.Equal(CustomClassInstance)
  </code></pre>
  
  <p>Of course, I am well aware that this should not work because references don't match. However, my question is: how do I make it work? How can make RhinoMocks expect an object with certain values inside?</p>