Beispiel #1
0
 public void SetUp()
 {
     _lambdaAggregateReportParseConfig = A.Fake <ILambdaAggregateReportParserConfig>();
     _emailMessageClient   = A.Fake <IS3EmailMessageClient>();
     _aggegateReportParser = A.Fake <IAggregateReportParserAsync>();
     _log = A.Fake <ILogger>();
     _s3EmailMessageProcessor = new S3EmailMessageProcessor(_lambdaAggregateReportParseConfig, _emailMessageClient, _aggegateReportParser, _log);
 }
Beispiel #2
0
 public S3EmailMessageProcessor(ILambdaAggregateReportParserConfig config,
                                IS3EmailMessageClient s3EmailMessageClient,
                                IAggregateReportParserAsync aggregateReportParser,
                                ILogger log)
 {
     _config = config;
     _s3EmailMessageClient  = s3EmailMessageClient;
     _aggregateReportParser = aggregateReportParser;
     _log = log;
 }
 public S3EmailMessageProcessor(
     IS3EmailMessageClient s3EmailMessageClient,
     IEmailMessageInfoProcessor <TDomain> emailMessageInfoProcessor,
     ILambdaReportParserConfig config,
     ILogger log)
 {
     _s3EmailMessageClient = s3EmailMessageClient;
     _config = config;
     _log    = log;
     _emailMessageInfoProcessor = emailMessageInfoProcessor;
 }
Beispiel #4
0
        public void SetUp()
        {
            _emailMessageClient        = A.Fake <IS3EmailMessageClient>();
            _lambdaReportParseConfig   = A.Fake <ILambdaReportParserConfig>();
            _emailMessageInfoProcessor = A.Fake <IEmailMessageInfoProcessor <Domain> >();
            _log = A.Fake <ILogger>();

            _s3EmailMessageProcessor = new S3EmailMessageProcessor <Domain>(
                _emailMessageClient,
                _emailMessageInfoProcessor,
                _lambdaReportParseConfig,
                _log);
        }
Beispiel #5
0
 public S3AggregateReportProcessor(
     IS3EmailMessageClient s3Client,
     IAggregateReportParser parser,
     IAggregateReportPersistor persistor,
     IAggregateReportMessagePublisherComposite publisher,
     IAggregateReportConfig config,
     ILogger <S3AggregateReportProcessor> logger)
 {
     _s3Client  = s3Client;
     _parser    = parser;
     _persistor = persistor;
     _publisher = publisher;
     _config    = config;
     _logger    = logger;
 }