Esempio n. 1
0
        public void CommitToRepository_DalExceptionThrown_ShouldThrowBllException()
        {
            _statisticsResultsRepositoryMock
            .Setup(x => x.Save(It.IsAny <string>()))
            .Throws(new DalException("Commit is forbidden."));

            _service.CommitToRepository(null);
        }