public void TestCompareToBsonValue()
 {
     var other = new BsonInt32(1);
     var wrapper = new BsonDocumentWrapper(new BsonDocument("x", 1));
     Assert.AreEqual(false, wrapper.IsMaterialized);
     var result = wrapper.CompareTo(other);
     Assert.AreEqual(true, wrapper.IsMaterialized);
     Assert.AreEqual(1, result);
 }