title: Unit testing routing in ASP.NET Core 1.0 (ex MVC 6)
body: <p>As the architecture of ASP.NET Core 1.0 (ex MVC 6 / ASP.NET 5.0) changed significantly, how would one go about unit testing the routing?</p>
  
  <p>As an example, I like the libraries such as this one (as for &lt;= MVC 5): <a href="https://github.com/AnthonySteele/MvcRouteTester">https://github.com/AnthonySteele/MvcRouteTester</a></p>
  
  <p>Something down the lines of fluent extension methods:</p>
  
  <pre><code>routes.ShouldMap("/").To&lt;HomeController&gt;(x =&gt; x.Index());
  </code></pre>