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); }
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); }