public void Custom_factories_should_produce_instances_using_custom_constructor()
        {
            var customizedFactory = new ProductFactory();

            var product = customizedFactory.Build();

            product.Name.Should().Be("Nimbus 2000");
            product.Category.Should().Be("Brooms");
            product.Description.Should().Be("The best flight await you!");
        }
        public override void execute(Restourant restourant)
        {
            string  type        = Data[0];
            string  productName = Data[1];
            int     weight      = int.Parse(Data[2]);
            decimal price       = decimal.Parse(Data[3], CultureInfo.InvariantCulture);

            IProduct product;

            try
            {
                product = ProductFactory.Build(type, productName, price, weight);
                restourant.AddToMenu(product);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }