Beispiel #1
0
        static void Main(string[] args)
        {
            var _config          = SettingsHelper.GetSettings();
            var _pizzaFactory    = new PizzaFactory(_config.GeneralSettings, _config.PizzaBases);
            var _pizzaTopFactory = new PizzaTopFactory(_config.PizzaTops);
            var _pizzaStore      = new PizzzasStore(_config, _pizzaFactory, _pizzaTopFactory);

            _pizzaStore.StartProcess();
        }
 public void Constructor_PizzaTops_Null_Fail()
 {
     var factory = new PizzaTopFactory(null);
 }