Пример #1
0
        public void AutoVivifyThrowsOnDocumentTypeMismatch()
        {
            var bson = new BsonArray();

            Assert.Throws <ArgumentException>(() => bson.AutoVivify("a", BsonType.Document));
        }
Пример #2
0
 public void AutoVivifyThrowsOnDocumentTypeMismatch()
 {
     var bson = new BsonArray();
     Assert.Throws<ArgumentException>(() => bson.AutoVivify("a", BsonType.Document));
 }