/// <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 AddLettuceShouldAddLettuce()
        {
            VelociWrap vw = new VelociWrap();

            vw.HoldLettuce();
            vw.AddLettuce();
            Assert.Contains("Romaine Lettuce", vw.Ingredients);
        }
Пример #3
0
        public void AddLettuceShouldNotifyOfSpecialPropertyChange()
        {
            VelociWrap vw = new VelociWrap();

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