Ejemplo n.º 1
0
 public void TestInitialize()
 {
     InitializeSubstitues();
     _fileProvider             = Substitute.For <IFileProvider>();
     _remoteFileFetcherGateway = Substitute.For <IRemoteFileFetcherGateway>();
     _adapter = new CsvPointsOfInterestAdapter(_dataContainerConverterService, _fileProvider, _remoteFileFetcherGateway, Substitute.For <ILogger>());
     _adapter.SetFileName("csv.csv");
 }
Ejemplo n.º 2
0
        public void TestInitialize()
        {
            InitializeSubstitues();
            _httpGatewayFactory       = Substitute.For <IHttpGatewayFactory>();
            _fileProvider             = Substitute.For <IFileProvider>();
            _remoteFileFetcherGateway = Substitute.For <IRemoteFileFetcherGateway>();

            _httpGatewayFactory.CreateRemoteFileFetcherGateway(null).Returns(_remoteFileFetcherGateway);
            _adapter = new CsvPointsOfInterestAdapter(_elevationDataStorage, _elasticSearchGateway, _dataContainerConverterService, _itmWgs84MathTransfromFactory, _fileProvider, _httpGatewayFactory, _options, Substitute.For <ILogger>());
            _adapter.SetFileName("csv.csv");
        }