public void Should_not_allow_any_controller_names_into_this_route()
 {
     var constraint = new ConferenceKeyCannotBeAControllerNameConstraint();
     var types = typeof (HomeController).Assembly.GetTypes();
     var controllers = types.Where(e => IsAController(e));
     foreach (var controller in controllers)
     {
         Debug.WriteLine(controller.Name);
         constraint.Match("conferenceKey", controller.Name.Replace("Controller", "")).ShouldBeFalse();
     }
 }
 public void Should_allow_any_non_controller_names_into_this_route()
 {
     var constraint = new ConferenceKeyCannotBeAControllerNameConstraint();
     constraint.Match("conferenceKey", "foobar").ShouldBeTrue();
 }