/// <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(); }
public void AddPeppersShouldAddPeppers() { Brontowurst bw = new Brontowurst(); bw.HoldPeppers(); bw.AddPeppers(); Assert.Contains("Peppers", bw.Ingredients); }
public void AddPeppersShouldNotifyOfSpecialPropertyChange() { Brontowurst bw = new Brontowurst(); Assert.PropertyChanged(bw, "Special", () => { bw.AddPeppers(); }); }