public void TestClassWithBsonBooleanId() { _collection.RemoveAll(); var doc = new ClassWithBsonBooleanId { Id = null, X = 1 }; _collection.Insert(doc); doc = new ClassWithBsonBooleanId { Id = BsonBoolean.False, X = 1 }; _collection.Insert(doc); doc = new ClassWithBsonBooleanId { Id = BsonBoolean.True, X = 1 }; _collection.Insert(doc); }
public void TestClassWithBsonBooleanId() { collection.RemoveAll(); var doc = new ClassWithBsonBooleanId { Id = null, X = 1 }; collection.Insert(doc); doc = new ClassWithBsonBooleanId { Id = BsonBoolean.Create(false), X = 1 }; collection.Insert(doc); doc = new ClassWithBsonBooleanId { Id = BsonBoolean.Create(true), X = 1 }; collection.Insert(doc); }