title: How to mock a class that implements multiple interfaces
body: <p>How to mock the following class:</p>
  
  <pre><code>UserRepository : GenericRepository&lt;User&gt;, IUserRepository
  
  
  public class GenericRepository&lt;TEntity&gt; : IGenericRepository&lt;TEntity&gt; where TEntity : class
  </code></pre>
  
  <p>I am using Moq, and I am confused how to handle multiple interfaces correctly.</p>