/// <summary> /// Resets the entree to original values. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void SelectReset(object sender, RoutedEventArgs args) { steakosaurus.AddBun(); steakosaurus.AddPickle(); steakosaurus.AddKetchup(); steakosaurus.AddMustard(); SetUpSteakosaurusBurgerSelection(); }
public void AddPickleShouldAddPickle() { SteakosaurusBurger sb = new SteakosaurusBurger(); sb.HoldPickle(); sb.AddPickle(); Assert.Contains("Pickle", sb.Ingredients); }
public void AddPickleShouldNotifyOfSpecialPropertyChange() { SteakosaurusBurger sb = new SteakosaurusBurger(); Assert.PropertyChanged(sb, "Special", () => { sb.AddPickle(); }); }