/// <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();
 }
Пример #2
0
        public void AddDressingShouldAddDressing()
        {
            VelociWrap vw = new VelociWrap();

            vw.HoldDressing();
            vw.AddDressing();
            Assert.Contains("Ceasar Dressing", vw.Ingredients);
        }
Пример #3
0
        public void AddDressingShouldNotifyOfSpecialPropertyChange()
        {
            VelociWrap vw = new VelociWrap();

            Assert.PropertyChanged(vw, "Special", () =>
            {
                vw.AddDressing();
            });
        }