public void ParseCSV_ReturnsTrue_GivenSuccessfulRead()
        {
            _csvParser = new CSVParsingService();
            var result = _csvParser.ParseCSV();

            Assert.IsInstanceOfType(result, typeof(List <IndustryYearIndexDto>));
        }
Пример #2
0
 private static void InitiliaseDependencies()
 {
     _ninjectKernel              = NinjectFactory.GetInitialisedStandardKernelUsing(new NinjectCommon().RegisterServices);
     _unitOfWork                 = _ninjectKernel.Get <IUnitOfWork>();
     _configurationManager       = _ninjectKernel.Get <IConfigurationManager>();
     _applicationSettings        = _ninjectKernel.Get <IApplicationSettings>();
     _csvParsingService          = _ninjectKernel.Get <ICSVParsingService>();
     _dtoObjectService           = _ninjectKernel.Get <IDtoToIndustryObjectService>();
     _entityTableFactory         = _ninjectKernel.Get <IEntityDataTableFactory>();
     _gdpProcessingServce        = _ninjectKernel.Get <IGDPDtoProcessingService>();
     _connectionSettings         = _ninjectKernel.Get <IConnectionSettings>();
     _sqlConnectionStringManager =
         _ninjectKernel.Get <ISqlConnectionStringManager>();
     _industryImportService = _ninjectKernel.Get <IIndustryImportService>();
 }