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