public decimal Calculate(Cart shoppingCard)
        {
            var cartTotalPrice = _cartPriceAggregate.Calculate(shoppingCard);

            cartTotalPrice *= shoppingCard.Coupons.GetTotalCouponDiscount(shoppingCard.ProductTransactions.Count);

            return(cartTotalPrice);
        }
        public void Calculate_tests()
        {
            ICartTotalPriceAggregate cartTotalPriceAggregate = Resolve <ICartTotalPriceAggregate>();

            var cartTotalPrice = cartTotalPriceAggregate.Calculate(EmptyCardData());

            Assert.Equal(250.43M, cartTotalPrice);
        }