Exemple #1
0
        public void AddArticleToBasketCallsBasketRepositoryAsExpected()
        {
            var article = CreateArticle();

            _sut.AddArticleToTheBasket(article, 5, _customerRef);

            _basketRepository.Verify(x => x.CreateBasketItem(It.IsAny <BasketItem>()));
        }