Exemple #1
0
        public void ExecuteInTransactionTest()
        {
            var manager = new MiniSessionManager();

            manager.ExecuteInTransaction(() => { });

            Assert.ThrowsException <Exception>(() =>
            {
                manager.ExecuteInTransaction(() => { throw new Exception(); });
            });
        }