public void AutoVivifyThrowsOnDocumentTypeMismatch() { var bson = new BsonArray(); Assert.Throws <ArgumentException>(() => bson.AutoVivify("a", BsonType.Document)); }
public void AutoVivifyThrowsOnDocumentTypeMismatch() { var bson = new BsonArray(); Assert.Throws<ArgumentException>(() => bson.AutoVivify("a", BsonType.Document)); }