public void SetPath_ParamsStrings_SetsPathCorrectly(string resultPath, params string[] path) { var url = new ApiUrlBuilder(); url.AppendPath(path); Assert.Equal(resultPath, url.Path); }
public void SetPath_SingleStringInput_SetsPathCorrectly(string path, string pathResult) { var url = new ApiUrlBuilder(); url.AppendPath(path); Assert.Equal(pathResult, url.Path); }