/// <summary> /// Returns to the entree selection page. /// Does not add the veloci wrap to the order. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void SelectReset(object sender, RoutedEventArgs args) { velociWrap.AddDressing(); velociWrap.AddLettuce(); velociWrap.AddCheese(); SetUpVelociWrapSelection(); }
public void AddDressingShouldAddDressing() { VelociWrap vw = new VelociWrap(); vw.HoldDressing(); vw.AddDressing(); Assert.Contains("Ceasar Dressing", vw.Ingredients); }
public void AddDressingShouldNotifyOfSpecialPropertyChange() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => { vw.AddDressing(); }); }