public void CatchingSyncException()
        {
            // Arrange
            this._dbFixture.TestInitialize();

            var  cmd = new AlwaysFailingSyncCommand();
            bool isExceptionCatched = false;

            // Act
            try {
                this._unitOfWorkFactory.ExecuteSingleCommand(cmd);
            }
            catch (Exception) {
                isExceptionCatched = true;
            }

            // Assert
            Assert.True(isExceptionCatched);
        }
        public void CatchingSyncException()
        {
            // Arrange
            this._dbFixture.TestInitialize();

            var cmd = new AlwaysFailingSyncCommand();
            bool isExceptionCatched = false;

            // Act
            try {
                this._unitOfWorkFactory.ExecuteSingleCommand(cmd);
            }
            catch (Exception) {
                isExceptionCatched = true;
            }

            // Assert
            Assert.True(isExceptionCatched);
        }