public void TestContains() { var wrapper = new BsonDocumentWrapper(new BsonDocument("x", 1)); Assert.Equal(false, wrapper.IsMaterialized); var result = wrapper.Contains("x"); Assert.Equal(true, wrapper.IsMaterialized); Assert.Equal(true, result); }