public void PoorMansDiTest()
            {
                IOrderProcessor orderProcessor = new OrderProcessor(
                    new TaxStrategyFactory(
                        new ITaxStrategy[] {new CanadaTaxStrategy(), new USTaxStrategy()}));

                var order = new Order { Country = "US" };

                orderProcessor.Process(order);

                Assert.AreEqual(10, order.Tax);
            }
            public void PoorMansDiTest()
            {
                IOrderProcessor orderProcessor = new OrderProcessor(
                    new TaxStrategyFactory(
                        new ITaxStrategy[] { new CanadaTaxStrategy(), new USTaxStrategy() }));

                var order = new Order {
                    Country = "US"
                };

                orderProcessor.Process(order);

                Assert.AreEqual(10, order.Tax);
            }