/// <summary>
 /// Resets the entree to original values.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="args"></param>
 private void SelectReset(object sender, RoutedEventArgs args)
 {
     brontowurst.AddBun();
     brontowurst.AddPeppers();
     brontowurst.AddOnion();
     SetUpBrontowurstSelection();
 }
Example #2
0
        public void AddPeppersShouldAddPeppers()
        {
            Brontowurst bw = new Brontowurst();

            bw.HoldPeppers();
            bw.AddPeppers();
            Assert.Contains("Peppers", bw.Ingredients);
        }
Example #3
0
        public void AddPeppersShouldNotifyOfSpecialPropertyChange()
        {
            Brontowurst bw = new Brontowurst();

            Assert.PropertyChanged(bw, "Special", () =>
            {
                bw.AddPeppers();
            });
        }