public ShopOrder Save(ShopOrder order)
 {
     using (ITransaction transaction = session.BeginTransaction())
     {
         session.Save(order);
         transaction.Commit();
     }
     return order;
 }
        public void save_order_returns_saved_order_with_proper_members(
            OrderNhibRepository sut,
            ShopOrder order)
        {
            var actual = sut.Save(order);

            actual.Id
                .Should()
                .NotBeEmpty();

            actual.ShouldBeEquivalentTo(order, o => o.ExcludingMissingMembers());
        }