Exemplo n.º 1
0
        public void Ctor_initializes_ToyType()
        {
            var clientChoices = new Order(BurgerTypes.Chicken, DrinkTypes.Orange, ToyTypes.Doll);

            Assert.AreEqual(ToyTypes.Doll, clientChoices.ToyType);
        }
Exemplo n.º 2
0
        public void Ctor_initializes_BurgerType()
        {
            var clientChoices = new Order(BurgerTypes.Chicken, DrinkTypes.Cola, ToyTypes.Car);

            Assert.AreEqual(BurgerTypes.Chicken, clientChoices.BurgerType);
        }