public void BuildPathWithKey() { Assert.Equal("a/b?code=key", PlayerClient.BuildPathWithKey("a/b", "key")); }
public void BuildPathWithKeyAndParameters() { Assert.Equal("a/b?code=key&foo=bar", PlayerClient.BuildPathWithKey("a/b", "key", new KeyValuePair <string, string>[] { new("foo", "bar") }));
public void BuildPathWithoutKey() { Assert.Equal("a/b", PlayerClient.BuildPathWithKey("a/b", null)); }