Esempio n. 1
0
        public void Innitialize()
        {
            FileUtilities.BasePath = TestConfiguration.GetTestAssetPath();

            var config = TestConfiguration.GetMockConfiguration();

            _humphriesService = new HumphriesProvider(config.Object);
        }
        public void Initialize()
        {
            FileUtilities.BasePath = TestConfiguration.GetTestAssetPath();

            var config = TestConfiguration.GetMockConfiguration();

            _humphriesService = new HumphriesProvider(config.Object);;

            _megaCorpService = new MegaCorpProvider(config.Object);

            _suppliesservice = new SuppliesProvider(_megaCorpService, _humphriesService);
        }
 public SuppliesProvider(IMegaCorpService megaCorpService, IHumphriesService humphriesService)
 {
     _megaCorpService  = megaCorpService;
     _humphriesService = humphriesService;
 }