public void ShouldGenerateBaseUriWithTerminatingBackslashFromSuppliedAbsoluteUri()
 {
     var uriFactory = new UriFactoryWorker("quotes", "{quoteId}");
     Assert.AreEqual(new Uri("http://restbucks.com:8080/uk/"), uriFactory.CreateBaseUri(new Uri("http://restbucks.com:8080/uk/quotes/1234")));
 }
 public void ThrowsExceptionWhenSuppliedUriDoesNotContainRoutePrefix()
 {
     var uriFactory = new UriFactoryWorker("quotes", "{quoteId}");
     uriFactory.CreateBaseUri(new Uri("http://restbucks.com:8080/uk/customers/1234"));
 }