title: Get HTTP status from IHttpActionResult Return Value
body: <p>In C#, how in the world do I get the HTTP status number (200) and return text ("ok") in this case for unit testing for an API controller? I think I've tried everything. Surely this is a common need. Thanks. </p>
  
  <pre><code>public IHttpActionResult Get(string appServer, string action)
  {
     return Ok("ok");
  }
  </code></pre>
  
  <hr>
  
  <pre><code>[TestMethod]
  public void AppPoolTestStart()
  {
     AppPoolController controller = new AppPoolController();
     IHttpActionResult result = controller.Get("MyServer", "start");
     Assert.??? ; // check for 200 or "ok" 
  }
  </code></pre>