public int Execute(TotalBasketOptions options, Basket basket)
        {
            var total = basketService.CalculateTotal(basket);

            Console.WriteLine($"Your baskets total is £{total}");

            return(0);
        }
Ejemplo n.º 2
0
 public void Setup()
 {
     options = fixture.Create <TotalBasketOptions>();
     basket  = fixture.Create <Basket>();
 }