public void TestDefaultDocumentTypeObsolete()
{
#pragma warning disable 618
var settings = new MongoCollectionSettings<BsonDocument>(_database, "collection");
Assert.AreEqual(typeof(BsonDocument), settings.DefaultDocumentType);
settings.Freeze();
Assert.AreEqual(typeof(BsonDocument), settings.DefaultDocumentType);
#pragma warning restore
}