/// <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 AddLettuceShouldAddLettuce() { VelociWrap vw = new VelociWrap(); vw.HoldLettuce(); vw.AddLettuce(); Assert.Contains("Romaine Lettuce", vw.Ingredients); }
public void AddLettuceShouldNotifyOfSpecialPropertyChange() { VelociWrap vw = new VelociWrap(); Assert.PropertyChanged(vw, "Special", () => { vw.AddLettuce(); }); }