public void Setup() { LinesOfTextChannel = new ChannelForNonBlankTextLines(); Context(); It = new LineByLineFileReadingAgentChannel(_fileReadingServiceReader, LinesOfTextChannel); ProvidedFilePath = "c:/file_path"; Because(); }
public void Setup() { ProvidedFilePath = "filePath"; MessageChannel = new ChannelForNonBlankTextLines(); _fileReadingServiceReader = new FileReadingServiceReaderWithOneNonBlankLineAndMultipleBlankLines(); It = new LineByLineFileReadingAgentChannel(_fileReadingServiceReader, MessageChannel); It.OnNext(ProvidedFilePath); }