Example #1
0
 public AggregateReportParserVerbose(IMimeMessageFactory mimeMessageFactory,
                                     IAttachmentStreamNormaliser attachmentStreamNormaliser,
                                     IAggregateReportDeserialiser aggregateReportDeserialiser,
                                     IMultiAttachmentPersistor multiAttachmentPersistor,
                                     ILogger log)
 {
     _mimeMessageFactory          = mimeMessageFactory;
     _attachmentStreamNormaliser  = attachmentStreamNormaliser;
     _aggregateReportDeserialiser = aggregateReportDeserialiser;
     _multiAttachmentPersistor    = multiAttachmentPersistor;
     _log = log;
 }
Example #2
0
        public void SetUp()
        {
            _mimeMessageFactory          = A.Fake <IMimeMessageFactory>();
            _attachmentStreamNormaliser  = A.Fake <IAttachmentStreamNormaliser>();
            _aggregateReportDeserialiser = A.Fake <IAggregateReportDeserialiser>();
            _multiAttachmentPersistor    = A.Fake <IMultiAttachmentPersistor>();
            _log = A.Fake <ILogger>();

            _aggregateReportParser = new AggregateReportParserVerbose(_mimeMessageFactory,
                                                                      _attachmentStreamNormaliser,
                                                                      _aggregateReportDeserialiser,
                                                                      _multiAttachmentPersistor,
                                                                      _log);
        }
        public void SetUp()
        {
            _mimeMessageFactory               = A.Fake <IMimeMessageFactory>();
            _attachmentStreamNormaliser       = A.Fake <IAttachmentStreamNormaliser>();
            _aggregateReportDeserialiser      = A.Fake <IAggregateReportDeserialiser>();
            _denormalisedRecordConverter      = A.Fake <IDenormalisedRecordConverter>();
            _multiAttachmentPersistor         = A.Fake <IMultiAttachmentPersistor>();
            _multiDenormalisedRecordPersistor = A.Fake <IMultiDenormalisedRecordPersistor>();
            _mulitAggregateReportPersistor    = A.Fake <IMultiAggregateReportPersistor>();
            _log = A.Fake <ILogger>();

            _aggregateReportParser = new AggregateReportParserApp(_mimeMessageFactory,
                                                                  _attachmentStreamNormaliser, _aggregateReportDeserialiser, _denormalisedRecordConverter,
                                                                  _multiAttachmentPersistor, _multiDenormalisedRecordPersistor, _mulitAggregateReportPersistor, _log);
        }
Example #4
0
 public AggregateReportParserApp(IMimeMessageFactory mimeMessageFactory,
                                 IAttachmentStreamNormaliser attachmentStreamNormaliser,
                                 IAggregateReportDeserialiser aggregateReportDeserialiser,
                                 IDenormalisedRecordConverter denormalisedRecordConverter,
                                 IMultiAttachmentPersistor multiAttachmentPersistor,
                                 IMultiDenormalisedRecordPersistor multiDenormalisedRecordPersistor,
                                 IMultiAggregateReportPersistor multiAggregateReportPersistor,
                                 ILogger log)
 {
     _mimeMessageFactory               = mimeMessageFactory;
     _attachmentStreamNormaliser       = attachmentStreamNormaliser;
     _aggregateReportDeserialiser      = aggregateReportDeserialiser;
     _denormalisedRecordConverter      = denormalisedRecordConverter;
     _multiAttachmentPersistor         = multiAttachmentPersistor;
     _multiDenormalisedRecordPersistor = multiDenormalisedRecordPersistor;
     _multiAggregateReportPersistor    = multiAggregateReportPersistor;
     _log = log;
 }