public void ResolveTranslateLinkUsingCreate() { var link = new TranslationLink() { FromLanguage = "English", ToLanguage = "French", FromPhrase = "Hello" }; var request = link.CreateRequest(); Assert.Equal("http://api.microsofttranslator.com/V2/Http.svc/Translate?text=Hello&to=French&from=English", request.RequestUri.AbsoluteUri); }