title: Unit test Custom Route in Web API
body: <p>I've spent already half day on this without any success. How do you unit test routes in Web API?</p>
  
  <p>I mean given the following URI:</p>
  
  <pre><code>~/Test/Get/2
  </code></pre>
  
  <p>I want to unit test that the above url is captured by the Test controller and Get action accepting an int parameter.</p>