public void TestAddingIceCream() { var form = new AddIceCreamForm(); var iceCream = new IceCreamProduct { Name = "Fatty Cake", Cost = "2.50", Flavor = "Big Haus" }; form.AddIceCreamToFreezer(iceCream); WinFormsApprovals.Verify(form); }
public void AddIceCream(IceCreamProduct iceCreamProduct) { _iceCreams.Add(iceCreamProduct); }
public void AddIceCream(IceCreamProduct iceCreamProduct) { _iceCreams.Add(iceCreamProduct); }