Exemple #1
0
        public void GetHeaderStringValue()
        {
            using (CancellationTokenSource tokenSource = new CancellationTokenSource())
            {
                CallOptions callOptions = CreateCallOptions(tokenSource.Token);

                Assert.AreEqual("1", callOptions.GetHeaderStringValue("a"));
                Assert.IsNull(callOptions.GetHeaderStringValue("b"));
            }
        }