title: How to use moq to test a concrete method in an abstract class?
body: <p>In the past when I wanted to mock an abstract class I'd simply create a mocked class in code that extended the abstract class, then used that class in my unit testing...</p>
  <pre><code>public abstract class MyConverter : IValueConverter
  {
      public abstract Object Convert(...);
  
      public virtual Object ConvertBack(...) { ... }
  }
  
  private sealed class MockedConverter : MyConverter { ... }
  
  [TestMethod]
  public void TestMethod1()
  {
      var mock = new MockedConverter();
  
      var expected = ...;
      var actual = mock.ConvertBack(...);
  
      Assert.AreEqual(expected, actual);
  }
  </code></pre>
  <p>I want to get into the habit of using Moq instead. I'm not sure how I'd go about using Moq to test the default return value of my abstract class. Any advice here?</p>