public void OrderShouldReturnErrorIfValidationFails()
 {
     var abstractMealOrder = new MockedMealOrder(new MockedMealMenu(), false);
     abstractMealOrder.Order(MealType.Drink);
     Assert.AreEqual(1, abstractMealOrder.BaseOrderedItems.Count);
     Assert.AreEqual("error", abstractMealOrder.BaseOrderedItems.First().MealName);
 }
        private void assertOrderShouldReturnMealNameAndTypeIfValidationPass(MealType mealType, string expectedNameResult)
        {
            var abstractMealOrder = new MockedMealOrder(new MockedMealMenu(), true);
            abstractMealOrder.Order(mealType);

            Assert.AreEqual(1, abstractMealOrder.BaseOrderedItems.Count);

            var addedItem = abstractMealOrder.BaseOrderedItems.First();
            Assert.AreEqual(expectedNameResult, addedItem.MealName);
            Assert.AreEqual(mealType, addedItem.MealType);
        }