public void ShouldBeAbleToAddOrder(string productName, int quantity, string total) { var order = new Order(productName, quantity); _basketService.AddOrder(order); Assert.That(_basketService.GetTotal(), Is.EqualTo(decimal.Parse(total))); }
public BasketDriver WithOrder(Order order) { _basketService.AddOrder(order); return(this); }