public void AddKetchupShouldAddKetchup() { TRexKingBurger trex = new TRexKingBurger(); trex.HoldKetchup(); trex.AddKetchup(); Assert.Contains("Ketchup", trex.Ingredients); }
public void AddKetchupShouldNotifyOfSpecialPropertyChange() { TRexKingBurger trex = new TRexKingBurger(); Assert.PropertyChanged(trex, "Special", () => { trex.AddKetchup(); }); }