public void AddPickleShouldAddPickle() { TRexKingBurger trex = new TRexKingBurger(); trex.HoldPickle(); trex.AddPickle(); Assert.Contains("Pickle", trex.Ingredients); }
public void AddPickleShouldNotifyOfSpecialPropertyChange() { TRexKingBurger trex = new TRexKingBurger(); Assert.PropertyChanged(trex, "Special", () => { trex.AddPickle(); }); }