Пример #1
0
        private void PrepareInitialDataProvider()
        {
            CsvFileParser               csvParser            = new CsvFileParser();
            ParsingResultValidator      validator            = new ParsingResultValidator();
            InitialDataFilePathProvider filePathProviderMock = new InitialDataFilePathProvider {
                FilePath = _initialDataFilePath
            };
            FileValidationOperationResultLogger resultLogger = new FileValidationOperationResultLogger(new FileOperations());

            _initialDataProvider = new CsvDataProvider(csvParser, validator, filePathProviderMock, resultLogger);
        }
 public void SetUp()
 {
     _filePathProvider = new InitialDataFilePathProvider();
 }