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

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

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