Пример #1
0
        public void Should_Throw_Exception_If_Basket_Exists()
        {
            const bool basketExists = true;

            // ReSharper disable once ConditionIsAlwaysTrueOrFalse
            Assert.Throws <Exception>(() => _kudosBasketValidator.CheckIfBasketAlreadyExists(basketExists));
        }
Пример #2
0
        public void Should_Throw_Exception_If_Basket_Exists()
        {
            var basketExists = true;

            Assert.Throws <Exception>(() => _kudosBasketValidator.CheckIfBasketAlreadyExists(basketExists));
        }