public void BaseUri()
 {
     var config = new HttpConfiguration(new Uri("http://happy.ca/"), "", HttpRequest.Get);
     var ex = Assert.Throws<ArgumentException>(()=>config.ValidateBase());
     Assert.AreEqual("Route", ex.Message);
 }
 public void Base()
 {
     var config = new HttpConfiguration(new Uri("http://happy.ca/"), "happy", HttpRequest.Get);
     config.ValidateBase();
 }