private void IAddADocument()
 {
     _aDocument = new PersonCs
     {
         _id             = Guid.NewGuid(),
         Name            = "Docsesh",
         Age             = 90,
         FavouriteThings = new[] { "Golf", "Statue of liberty" }
     };
     _documentSession.Store(_aDocument._id, _aDocument);
     _documentSession.SaveChanges();
 }
 private void IAddADocument()
 {
     _aDocument = new PersonCs
     {
         _id = Guid.NewGuid(),
         Name = "Docsesh",
         Age = 90,
         FavouriteThings = new[] { "Golf", "Statue of liberty" }
     };
     _documentSession.Store(_aDocument._id, _aDocument);
     _documentSession.SaveChanges();
 }
 public void UnitOfWork_JustInsert()
 {
     _ernesto = new PersonCs
     {
         _id             = Guid.NewGuid(),
         Name            = "Ernesto",
         Age             = 31,
         FavouriteThings = new[] { "Pistachio Ice Cream", "Postgresql", "F#" }
     };
     Giv.n(() => AnOperation(Operation.Insert(_ernesto._id, _ernesto)));
     Wh.n(TheUnitOfWorkIsCommitted);
     Th.n(TheDocumentWasInserted);
 }
 public void UnitOfWork_JustInsert()
 {
     _ernesto = new PersonCs
     {
         _id = Guid.NewGuid(),
         Name = "Ernesto",
         Age = 31,
         FavouriteThings = new[] { "Pistachio Ice Cream", "Postgresql", "F#" }
     };
     Giv.n(() => AnOperation(Operation.Insert(_ernesto._id, _ernesto)));
     Wh.n(TheUnitOfWorkIsCommitted);
     Th.n(TheDocumentWasInserted);
 }