Exemple #1
0
 public void InstanceSingleTag(string tag, object value, object newValue)
 {
     Assert.DoesNotThrow(() => _avroSchema.AddTag(tag, value));
     Assert.AreEqual(value, _avroSchema.Tags[tag]);
     Assert.DoesNotThrow(() => _avroSchema.RemoveTag(tag));
     Assert.IsFalse(_avroSchema.Tags.ContainsKey(tag));
 }