public void ChangingCheeseShouldInvokePropertyChangedForCheeseandSpecialInstructions(string propertyname)
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, propertyname, () =>
            {
                burger.Cheese = false;
            });
        }
Ejemplo n.º 2
0
        public void ChangingBunShouldInvokePropertyChangedForSpecialInstructions()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "SpecialInstructions", () =>
            {
                burger.Bun = false;
            });
        }
Ejemplo n.º 3
0
        public void ChangingCheeseShouldInvokePropertyChanged()
        {
            var tBurger = new TrailBurger();

            Assert.PropertyChanged(tBurger, "Cheese", () =>
            {
                tBurger.Cheese = false;
            });
        }
Ejemplo n.º 4
0
        public void ChangingBunPropertyShouldInvokePropertyChangedForBun()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "Bun", () =>
            {
                burger.Bun = false;
            });
        }
Ejemplo n.º 5
0
        public void ChangingPicklePropertyShouldInvokePropertyChangedForPickle()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "Pickle", () =>
            {
                burger.Pickle = false;
            });
        }
        public void ChangingKetchupShouldInvokePropertyChangedForKetchup()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "Ketchup", () =>
            {
                trail.Ketchup = false;
            });
        }
        public void ChangingMustardShouldInvokePropertyChangedForMustard()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "Mustard", () =>
            {
                trail.Mustard = false;
            });
        }
        public void ChangingMustardPropertyShouldInvokePropertyChangedForSpecialInstuctions()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "SpecialInstructions", () =>
            {
                item.Mustard = false;
            });
        }
        public void ChangingPicklePropertyShouldInvokePropertyChangedForPickle()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "Pickle", () =>
            {
                item.Pickle = false;;
            });
        }
        public void ChangingKetchupPropertyShouldInvokePropertyChangedForKetchup()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "Ketchup", () =>
            {
                item.Ketchup = false;;
            });
        }
        public void ChangingMustardPropertyShouldInvokePropertyChangedForMustard()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "Mustard", () =>
            {
                item.Mustard = false;;
            });
        }
        public void ChangingBunPropertyShouldInvokePropertyChangedForBun()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "Bun", () =>
            {
                item.Bun = false;
            });
        }
        public void ChangingCheesePropertyShouldInvokePropertyChangedForCheese()
        {
            var item = new TrailBurger();

            Assert.PropertyChanged(item, "Cheese", () =>
            {
                item.Cheese = false;;
            });
        }
Ejemplo n.º 14
0
        public void ChangingMustardShouldInvokePropertyChangedForSpecialInstructions()
        {
            var tripleBurger = new TrailBurger();

            Assert.PropertyChanged(tripleBurger, "SpecialInstructions", () =>
            {
                tripleBurger.Mustard = false;
            });
        }
        public void ChangingCheeseShouldInvokePropertyChangedForCheese()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "Cheese", () =>
            {
                trail.Cheese = false;
            });
        }
Ejemplo n.º 16
0
        public void ChangingBunPropertyShouldInvokePropertyChangedForBread()
        {
            var tra = new TrailBurger();

            Assert.PropertyChanged(tra, "Bun", () =>
            {
                tra.Bun = false;
            });
        }
        public void ChangingBunShouldInvokePropertyChangedForBun()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "Bun", () =>
            {
                trail.Bun = false;
            });
        }
Ejemplo n.º 18
0
        public void ChangingKetchupPropertyShouldInvokePropertyChangedForBread()
        {
            var tra = new TrailBurger();

            Assert.PropertyChanged(tra, "Ketchup", () =>
            {
                tra.Ketchup = false;
            });
        }
        public void ChangingKetchupShouldInvokePropertyChangedForSpecialInstructions()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "SpecialInstructions", () =>
            {
                trail.Ketchup = false;
            });
        }
Ejemplo n.º 20
0
        public void ChangingMustardPropertyShouldInvokePropertyChangedForBread()
        {
            var tra = new TrailBurger();

            Assert.PropertyChanged(tra, "Mustard", () =>
            {
                tra.Mustard = false;
            });
        }
Ejemplo n.º 21
0
        public void ChangingMustardShouldInvokePropertyChangeForSpecialInstructions()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "Mustard", () =>
            {
                burger.Mustard = false;
            });
        }
Ejemplo n.º 22
0
        public void ChangingCheesePropertyShouldInvokePropertyChangedForBread()
        {
            var tra = new TrailBurger();

            Assert.PropertyChanged(tra, "Cheese", () =>
            {
                tra.Cheese = false;
            });
        }
Ejemplo n.º 23
0
        public void ChangingKetchupPropertyShouldInvokePropertyChangedForKetchup()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "Ketchup", () =>
            {
                burger.Ketchup = false;
            });
        }
Ejemplo n.º 24
0
        public void ChangingPickleShouldInvokePropertyChangedForSpecialInstructions()
        {
            var trailburger = new TrailBurger();

            Assert.PropertyChanged(trailburger, "SpecialInstructions", () =>
            {
                trailburger.Pickle = false;
            });
        }
Ejemplo n.º 25
0
        public void ChangingCheesePropertyShouldInvokePropertyChangedForCheese()
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, "Cheese", () =>
            {
                burger.Cheese = false;
            });
        }
Ejemplo n.º 26
0
        public void HoldingKetchupAndMustardShouldAddTwoInstructions()
        {
            var burger = new TrailBurger();

            burger.Ketchup = false;
            burger.Mustard = false;
            Assert.Contains("hold ketchup", burger.SpecialInstructions);
            Assert.Contains("hold mustard", burger.SpecialInstructions);
        }
Ejemplo n.º 27
0
        public void ChangingMustardPropertyShouldInvokePropertyChanged()
        {
            var tBurger = new TrailBurger();

            Assert.PropertyChanged(tBurger, "Mustard", () =>
            {
                tBurger.Mustard = false;
            });
        }
        public void ChangingPickleShouldInvokePropertyChangedForPickle()
        {
            var trail = new TrailBurger();

            Assert.PropertyChanged(trail, "Pickle", () =>
            {
                trail.Pickle = false;
            });
        }
Ejemplo n.º 29
0
        public void ChangingCheeseShouldInvokePropertyChangedForSpecialInstructions()
        {
            var tBurger = new TrailBurger();

            Assert.PropertyChanged(tBurger, "SpecialInstructions", () =>
            {
                tBurger.Cheese = false;
            });
        }
        public void ChangingMustardShouldInvokePropertyChangedForMustardandSpecialInstructions(string propertyname)
        {
            var burger = new TrailBurger();

            Assert.PropertyChanged(burger, propertyname, () =>
            {
                burger.Mustard = false;
            });
        }