public void Factory2_AutoFactory_Should_TurnOn_OFF_MiniCooper()
        {
            Factory2.AutoFactory factory = new Factory2.AutoFactory();

            Factory2.IAuto car = factory.CreateInstance("mini");

            car.TurnOn();
            car.TurnOff();

            Assert.IsInstanceOfType(car, typeof(Factory2.MiniCooper));
        }
        public void Factory2_AutoFactory_Should_TurnOn_OFF_BMW()
        {
            Factory2.AutoFactory factory = new Factory2.AutoFactory();

            Factory2.IAuto car = factory.CreateInstance("bmw");

            car.TurnOn();
            car.TurnOff();

            Assert.IsInstanceOfType(car, typeof(Factory2.BMW335Xi));
        }