title: How to setup a callback on all methods and properties with moq
body: <p>Is there a way to set a callback to all the members without having to set them each individually?</p>
  
  <p>I am trying to verify that all memebrs get called from the current thread, so I would like to do something like this, but there is no SetupAll().</p>
  
  <pre><code>var mockMyType = new Mock&lt;IMyType&gt;();
  var expectedThread = Thread.CurrentThread;
  mockMyType.SetupAll().Callback(() =&gt; Assert.AreEqual(expectedThread, Thread.CurrentThread));
  </code></pre>