title: Is there a way to create a mock object and only mock one of the Property, and let the others
body: <p>Is there a way to create a mock object and only mock one of the Property, and let the others (Properties and Methods) links to the original class, without having to mock all the methods</p>
  
  <p>Test Method --></p>
  
  <pre><code>var test= new Mock&lt;Test&gt;().As&lt;ITest&gt;();
  test.CallBase = true;
  test.SetupGet(m =&gt; m.DateNow).Returns(DateTime.Now.AddDays(10));
  double num= test.Object.Calc();
  </code></pre>
  
  <p>Interface --></p>
  
  <pre><code>public interface ITest
  {
  double Calc();
  DateTime DateNow { get; }
  }
  </code></pre>
  
  <p>Class --></p>
  
  <pre><code>public class Test : ITest
  {
   public DateTime DateNow
          {
              get
              {
                  return DateTime.Now.Date;
              }
          }
  public double Calc(){
  DateTime d = DateTime.Now.AddDays(100);
  return (DateNow - d).TotalDays;
  }
  </code></pre>
  
  <p>Always num = 0.0;</p>