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

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

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

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

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