Exemple #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);
 }
Exemple #2
0
 public S3EmailMessageProcessor(ILambdaAggregateReportParserConfig config,
                                IS3EmailMessageClient s3EmailMessageClient,
                                IAggregateReportParserAsync aggregateReportParser,
                                ILogger log)
 {
     _config = config;
     _s3EmailMessageClient  = s3EmailMessageClient;
     _aggregateReportParser = aggregateReportParser;
     _log = log;
 }