title: moq only one method in a class
body: <p>I'm using moq.dll 
  When I mock a class(all the IRepository interface) i use this line code</p>
  
  <pre><code>   int state = 5;
     var rep = new Mock&lt;IRepository&gt;();
     rep.Setup(x =&gt; x.SaveState(state)).Returns(true);
     IRepository repository = rep.Object;
  </code></pre>
  
  <p>but in this case i mock all the function in repository class.
  Then all the methods in class repository are substituted with the methods setup of Mock dll</p>
  
  <p>I want use all the methods defined in class repository(the real class) and mock only one function(SaveState)</p>
  
  <p>How can I do this? Is possible?</p>