Exemple #1
0
        public void Start_does_not_create_new_session_if_uncommitted()
        {
            UnitOfWork uow = CreateUnitOfWork();

            uow.Start();
            uow.Start();
            _sessionProvider.AssertWasCalled(o => o.CreateSession(), m => m.Repeat.Once());
        }