public void Import_succeeds_for_valid_file()
        {
            var fileName = $"{_testDataLocation}charities.csv";

            var reader = GetTestDataStreamReader(fileName);

            var importer = new CharityDataImporter(new TestDataRepository(_config, _repoLogger.Object), _importLogger.Object);

            var result = importer.ImportCharityData(reader).GetAwaiter().GetResult();

            result.Should().BeTrue();
        }
        public void Import_fails_for_file_with_no_records()
        {
            var fileName = $"{_testDataLocation}charities-no-records.csv";

            var reader = GetTestDataStreamReader(fileName);

            var importer = new CharityDataImporter(new TestDataRepository(_config, _repoLogger.Object), _importLogger.Object);

            var result = importer.ImportCharityData(reader).GetAwaiter().GetResult();

            result.Should().BeFalse();
        }