title: Mocking lambda in rhino mocks
body: <p>I am trying to use Rhino Mocks to mock the following lambda, but keep hitting a brick wall</p>
  
  <pre><code>var result = rep.Find&lt;T&gt;(x =&gt; (x as IEntity).ID == (entity as IEntity).ID).FirstOrDefault();
  </code></pre>
  
  <p>Any ideas?</p>