public void responds_to_get_if_GET_is_explicitly_allowed()
 {
     var route = new RouteDefinition("something");
     route.AddHttpMethodConstraint("Get");
     route.AddHttpMethodConstraint("POST");
     route.RespondsToMethod("GET").ShouldBeTrue();
 }
 public void responds_to_get_with_no_constraints()
 {
     var route = new RouteDefinition("something");
     route.RespondsToMethod("GET").ShouldBeTrue();
 }
 public void does_not_respond_to_get_if_http_methods_are_explicitly_defined_and_get_is_not_allowed()
 {
     var route = new RouteDefinition("something");
     route.AddHttpMethodConstraint("POST");
     route.RespondsToMethod("GET").ShouldBeFalse();
 }