public void TestClear()
 {
     var wrapper = new BsonDocumentWrapper(new BsonDocument("x", 1));
     Assert.AreEqual(false, wrapper.IsMaterialized);
     wrapper.Clear();
     Assert.AreEqual(true, wrapper.IsMaterialized);
     Assert.AreEqual(0, wrapper.ElementCount);
 }