public void CanGetSimpleAttributeRoute()
 {
     RouteAssert.For(
         _server,
         request => request.WithPathAndQuery("/simple-attribute-route"),
         routeAssert => routeAssert.MapsTo <HomeController>(a => a.SimpleAttributeRoute()));
 }
 public void ThrowsOnMapsToIncorrectController()
 {
     Assert.Throws <EqualException>(() =>
                                    RouteAssert.For(
                                        _server,
                                        request => request.WithPathAndQuery("/simple-attribute-route"),
                                        routeAssert => routeAssert.MapsTo <InvalidController>(a => a.Default())));
 }