Example #1
0
        public void ShouldHaveCorrectSpecialAfterHoldingPepper()
        {
            Brontowurst bw = new Brontowurst();

            bw.HoldPepper();
            Assert.Contains <string>("Hold Pepper", bw.Special);
        }
Example #2
0
        public void HoldPepperShouldRemovePeppers()
        {
            Brontowurst bw = new Brontowurst();

            bw.HoldPepper();
            Assert.DoesNotContain <string>("Pepper", bw.Ingredients);
        }
Example #3
0
        public void HoldPepperShouldNotifyOfIngredientsPropertyChange()
        {
            Brontowurst bw = new Brontowurst();

            Assert.PropertyChanged(bw, "Ingredients", () => { bw.HoldPepper(); });
        }
Example #4
0
        public void HoldPepperShouldNotifyOfSpecialPropertyChange()
        {
            Brontowurst bw = new Brontowurst();

            Assert.PropertyChanged(bw, "Special", () => { bw.HoldPepper(); });
        }