public void AddJellyShouldAddJelly() { PrehistoricPBJ pbj = new PrehistoricPBJ(); pbj.HoldJelly(); pbj.AddJelly(); Assert.Contains("Jelly", pbj.Ingredients); }
public void AddJellyShouldNotifyOfSpecialPropertyChange() { PrehistoricPBJ pbj = new PrehistoricPBJ(); Assert.PropertyChanged(pbj, "Special", () => { pbj.AddJelly(); }); }
/// <summary> /// Resets the entree to the original values. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> private void SelectReset(object sender, RoutedEventArgs args) { pbj.AddPeanutButter(); pbj.AddJelly(); SetUpPrehistoricPBJSelection(); }