title: SetupSet() is obsolete. In place of what?
body: <p>Let's say I want to use Moq to create a callback on a setter to store the set property in my own field for later use.  (Contrived example - but it gets to the point of the question.)  I could do something like this:</p>
  
  <pre><code>myMock.SetupSet(x =&gt; x.MyProperty).Callback(value =&gt; myLocalVariable = value);
  </code></pre>
  
  <p>And that works just fine.  However, SetupSet is obsolete according to Intellisense.  But it doesn't say what should be used as an alternative.  I know that moq provides SetupProperty which will autowire the property with a backing field.  But that is not what I'm looking for.  I want to capture the set value into my own variable.  How should I do this using non-obsolete methods?</p>