/// <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();
 }
Exemplo n.º 2
0
        public void AddBunShouldAddBun()
        {
            Brontowurst bw = new Brontowurst();

            bw.HoldBun();
            bw.AddBun();
            Assert.Contains("Whole Wheat Bun", bw.Ingredients);
        }
Exemplo n.º 3
0
        public void AddBunShouldNotifyOfSpecialPropertyChange()
        {
            Brontowurst bw = new Brontowurst();

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