/// <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();
 }
Beispiel #2
0
        public void AddOnionShouldAddOnion()
        {
            Brontowurst bw = new Brontowurst();

            bw.HoldOnion();
            bw.AddOnion();
            Assert.Contains("Onion", bw.Ingredients);
        }
Beispiel #3
0
        public void AddOnionShouldNotifyOfSpecialPropertyChange()
        {
            Brontowurst bw = new Brontowurst();

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