コード例 #1
0
        public void Parse_DoesntGetParsedRecords_DoesntWriteRecords()
        {
            List <List <string> > buffer = Arg.Any <List <List <string> > >();

            _cifProcessor.ProcessBatch(default(IEnumerable <IEnumerable <string> >), default(int), default(ScheduleType),
                                       default(BatchArgs)).ReturnsForAnyArgs(0);

            ProcessingService sut = new ProcessingService(_cifProcessor, _outputWriter, _fileSystem);

            sut.Process("foo", "bar", 10, "bundy", null);

            _outputWriter.DidNotReceiveWithAnyArgs()
            .Write(default(IEnumerable <IEnumerable <string> >));
        }