private Assortment GetInitialAssortment() { _vmAssortment = new Assortment(); _vmAssortment.Goods = new List<Good>(); _vmAssortment.Goods.Add(new Good { Price = 13, Type = GoodType.Tea, Quantity = 10, Name = "Tea" }); _vmAssortment.Goods.Add(new Good { Price = 18, Type = GoodType.Coffee, Quantity = 20, Name = "Coffee" }); _vmAssortment.Goods.Add(new Good { Price = 21, Type = GoodType.CoffeeWithMilk, Quantity = 20, Name = "Coffee with milk" }); _vmAssortment.Goods.Add(new Good { Price = 35, Type = GoodType.Juice, Quantity = 15, Name = "Juice" }); return _vmAssortment; }
public void SetInitialValues() { _customerWallet = GetInitialCustomerWallet(); _vmWallet = GetInitialVmWallet(); _vmAssortment = GetInitialAssortment(); }