/// <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 AddBunShouldAddBun() { Brontowurst bw = new Brontowurst(); bw.HoldBun(); bw.AddBun(); Assert.Contains("Whole Wheat Bun", bw.Ingredients); }
public void AddBunShouldNotifyOfSpecialPropertyChange() { Brontowurst bw = new Brontowurst(); Assert.PropertyChanged(bw, "Special", () => { bw.AddBun(); }); }