public void when_no_methods_are_allowed_default_to_GET()
        {
            var result = ActionCallMapper.getRouteVerbs(_route).ToArray();

            result.Count().ShouldEqual(1);
            result[0].ShouldEqual("GET");
        }
        public void should_return_allowed_route_methods()
        {
            _route.AddHttpMethodConstraint("POST");
            _route.AddHttpMethodConstraint("PUT");

            var result = ActionCallMapper.getRouteVerbs(_route).ToArray();

            result.Count().ShouldEqual(2);
            result.Contains("POST");
            result.Contains("PUT");
        }