/// <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 AddKetchupShouldAddKetchup() { SteakosaurusBurger sb = new SteakosaurusBurger(); sb.HoldKetchup(); sb.AddKetchup(); Assert.Contains("Ketchup", sb.Ingredients); }
public void AddKetchupShouldNotifyOfSpecialPropertyChange() { SteakosaurusBurger sb = new SteakosaurusBurger(); Assert.PropertyChanged(sb, "Special", () => { sb.AddKetchup(); }); }