public void SetUp()
 {
     _csvStreamReader = new Mock <IReadStream>();
     _csvReader       = new CsvReader(_csvStreamReader.Object);
     _csvWriter       = new Mock <IWriteCsv>();
     _csvReaderWriter = new CSVReaderWriter(_csvReader, _csvWriter.Object);
 }
Exemple #2
0
 public void SetUp()
 {
     _streamReader = new Mock <IReadStream>();
     _csvReader    = new CsvReader(_streamReader.Object);
 }
Exemple #3
0
 public AddressFileProcessor(IMailShot mailShot, IReadCsv csvReader, IParseAddress addressParser)
 {
     _mailShot      = mailShot;
     _csvReader     = csvReader;
     _addressParser = addressParser;
 }
Exemple #4
0
 public CSVReaderWriter(IReadCsv csvReader, IWriteCsv csvWriter)
 {
     _csvReader = csvReader;
     _csvWriter = csvWriter;
 }