Exemplo n.º 1
0
        public void FromFieldMask()
        {
            var settings = CallSettings.FromFieldMask("foo");
            var metadata = new Metadata();

            settings.HeaderMutation(metadata);
            Assert.Equal(CallSettings.FieldMaskHeader, metadata[0].Key);
            Assert.Equal("foo", metadata[0].Value);
        }