예제 #1
0
 public void BuildPathWithKey()
 {
     Assert.Equal("a/b?code=key", PlayerClient.BuildPathWithKey("a/b", "key"));
 }
예제 #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") }));
예제 #3
0
 public void BuildPathWithoutKey()
 {
     Assert.Equal("a/b", PlayerClient.BuildPathWithKey("a/b", null));
 }