Example #1
0
        private void processFilesFor(TransmissionPath path)
        {
            var msgs = _ediFileProcessingService.ProcessFiles(path);

            msgs.ForEach(publish);

            int messageCount = msgs.Count();

            if (messageCount > 0)
            {
                Logger.Info(this, messageCount + " messages published.");
            }
        }
Example #2
0
        public void can_process_file()
        {
            var msgs = _sut.ProcessFiles(TransmissionPath.Initech);

            Assert.That(msgs != null);
        }
Example #3
0
 public void can_process_file()
 {
     _sut.ProcessFiles(TransmissionPath.FedEx);
     _fileUtilities.VerifyAll();
 }