예제 #1
0
        public List <FoodMenuModel> PrintMealMenu(string RestaurantID)
        {
            RestaurantOperator restaurantOperator = new RestaurantOperator(RestaurantID);
            var foodMenu = restaurantOperator.PrintFoodMenu();

            return(foodMenu);
        }
예제 #2
0
        public void PrintFoodMenu_WithValidInput_ReturnsExpectedType()
        {
            RestaurantOperator restaurant = new RestaurantOperator("1");
            var foodMenu = restaurant.PrintFoodMenu();

            Assert.IsInstanceOf(typeof(List <FoodMenuModel>), foodMenu);
        }