title: Can I use moq Mock<MyClass> to mock a class, not an interface?
body: <p>Going through <a href="https://github.com/Moq/moq4/wiki/Quickstart" rel="noreferrer">https://github.com/Moq/moq4/wiki/Quickstart</a>, I see it Mock an interface.</p>
  <p>I have a class in my legacy code which does not have an interface. When I <code>Mock&lt;MyClass&gt;</code>, I get the following exception:</p>
  <blockquote>
  <p>Additional information: Can not instantiate proxy of class: MyCompnay.Mylegacy.MyClass.</p>
  </blockquote>
  <p>How can I use Moq to mock class from legacy code?</p>