title: Moq callback with invoking parameter
body: <p>I have these three lines of c# code using Moq, how can I write a single line?</p>
  
  <pre><code>  JobQueueRepository.Setup(r =&gt; r.UpdateJobQueueStatus(DefaultJobId, JobStatus.Success)).Callback(() =&gt; statuses.Add(JobStatus.Success));
    JobQueueRepository.Setup(r =&gt; r.UpdateJobQueueStatus(DefaultJobId, JobStatus.Failed)).Callback(() =&gt; statuses.Add(JobStatus.Failed));
    JobQueueRepository.Setup(r =&gt; r.UpdateJobQueueStatus(DefaultJobId, JobStatus.Running)).Callback(() =&gt; statuses.Add(JobStatus.Running));
  </code></pre>
  
  <p>Thanks for the help.</p>