public void SetUp() { _s3ClientService = A.Fake <IS3ClientService>(); _csvService = A.Fake <ICSVService>(); _filePreProcessorService = new FilePreProcessorService(_s3ClientService, _csvService, new NullLogger <FilePreProcessorService>()); }
public void SetUp() { _s3ClientService = A.Fake <IS3ClientService>(); _athenaClientService = A.Fake <IAthenaClientService>(); _sqlSriptExecutorService = new SqlSriptExecutorService(_s3ClientService, _athenaClientService, new NullLogger <SqlSriptExecutorService>()); }
public FilePreProcessorService( IS3ClientService s3ClientService, ICSVService csvService, ILogger <FilePreProcessorService> logger) { _s3ClientService = s3ClientService ?? throw new ArgumentNullException(nameof(s3ClientService)); _csvService = csvService ?? throw new ArgumentNullException(nameof(csvService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public SqlSriptExecutorService( IS3ClientService s3ClientService, IAthenaClientService athenaClientService, ILogger <SqlSriptExecutorService> logger) { _s3ClientService = s3ClientService; _athenaClientService = athenaClientService; _logger = logger; }