title: Unit testing POST action of ASP.NET WebAPI controller
body: <pre><code>    public HttpResponseMessage Save(IList&lt;Models.Activity&gt; activities)
      {
         //some controller code
          return Request.CreateResponse(HttpStatusCode.Created, activities, Configuration);
      }
  </code></pre>
  
  <p>How do I unit test that activities is correctly passed to the Request.CreateResponse?</p>