public void TestAddApiSuffixBaseUri(string input, string suffix, string expectedResult) { Uri baseUri = new Uri(input); Uri result = UriExtensions.AddApiSuffixBase(baseUri, suffix); Assert.Equal(result.ToString(), expectedResult); }
public void TestAddApiSuffixBaseString(string input, string suffix, string expectedResult) { string result = UriExtensions.AddApiSuffixBase(input, suffix); Assert.Equal(result, expectedResult); }