public void VerifyHistoryOfId1()
        {
            var ver1 = new PrimitiveTestEntity {
                Id = id1, Number = 10, Number2 = 0
            };
            var ver2 = new PrimitiveTestEntity {
                Id = id1, Number = 20, Number2 = 0
            };

            Assert.AreEqual(ver1, AuditReader().Find <PrimitiveTestEntity>(id1, 1));
            Assert.AreEqual(ver2, AuditReader().Find <PrimitiveTestEntity>(id1, 2));
            Assert.IsNull(AuditReader().Find <PrimitiveTestEntity>(id1, 3));
        }
        protected override void Initialize()
        {
            var pte = new PrimitiveTestEntity {
                Number = 10, Number2 = 11
            };

            using (var tx = Session.BeginTransaction())
            {
                id1 = (int)Session.Save(pte);
                tx.Commit();
            }
            using (var tx = Session.BeginTransaction())
            {
                pte.Number  = 20;
                pte.Number2 = 21;
                tx.Commit();
            }
            using (var tx = Session.BeginTransaction())
            {
                Session.Delete(pte);
                tx.Commit();
            }
        }