public void InsertRecord_WithNullableGuidId_Succeed() { var customer = new GuidCustomer { Name = "John Doe", }; _liteRepositoryFixture.Instance.Insert(customer); }
public void InsertRecord_WithNullableGuidId_Succeed() { var customersCollection = _liteDatabaseFixture.Instance.GetCollection <GuidCustomer>(); var customer = new GuidCustomer { Name = "John Doe", }; customersCollection.Insert(customer); Assert.True(customersCollection.Exists(x => x.Id == customer.Id)); }