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