예제 #1
0
        public void GetShouldReturnExtraIfPresent()
        {
            var context = ContextWithKey1();

            Assert.AreEqual(Key1Value,
                            ExtraFieldPropagation.Get(context, Key1));
        }
예제 #2
0
 public void GetShouldReturnNullIfNoExtraPresent()
 {
     Assert.IsNull(ExtraFieldPropagation.Get(_context, Key1));
 }