Esempio n. 1
0
        public void AddPickleShouldAddPickle()
        {
            TRexKingBurger trex = new TRexKingBurger();

            trex.HoldPickle();
            trex.AddPickle();
            Assert.Contains("Pickle", trex.Ingredients);
        }
Esempio n. 2
0
        public void AddPickleShouldNotifyOfSpecialPropertyChange()
        {
            TRexKingBurger trex = new TRexKingBurger();

            Assert.PropertyChanged(trex, "Special", () =>
            {
                trex.AddPickle();
            });
        }