title: Returning value that was passed into a method
body: <p>I have a method on an interface:</p>
  
  <pre><code>string DoSomething(string whatever);
  </code></pre>
  
  <p>I want to mock this with MOQ, so that it returns whatever was passed in - something like:</p>
  
  <pre><code>_mock.Setup( theObject =&gt; theObject.DoSomething( It.IsAny&lt;string&gt;( ) ) )
     .Returns( [the parameter that was passed] ) ;
  </code></pre>
  
  <p>Any ideas?</p>