public void Setup()
 {
     this._awsQueueClient   = A.Fake <IAwsQueueClient>();
     this._awsConfiguration = A.Fake <IAwsConfiguration>();
     this._logger           = A.Fake <ILogger <DataRequestSubscriber> >();
     this._sysCtx           = A.Fake <ISystemProcessContext>();
     this._serialiser       = new ThirdPartyDataRequestSerialiser();
     this._requestManager   = A.Fake <IDataRequestManager>();
 }
 public DataRequestSubscriber(
     IAwsQueueClient awsQueueClient,
     IAwsConfiguration awsConfiguration,
     ISystemProcessContext systemProcessContext,
     IThirdPartyDataRequestSerialiser serialiser,
     IDataRequestManager dataRequestManager,
     ILogger <DataRequestSubscriber> logger)
 {
     this._awsQueueClient       = awsQueueClient ?? throw new ArgumentNullException(nameof(awsQueueClient));
     this._awsConfiguration     = awsConfiguration ?? throw new ArgumentNullException(nameof(awsConfiguration));
     this._systemProcessContext =
         systemProcessContext ?? throw new ArgumentNullException(nameof(systemProcessContext));
     this._serialiser         = serialiser ?? throw new ArgumentNullException(nameof(serialiser));
     this._dataRequestManager =
         dataRequestManager ?? throw new ArgumentNullException(nameof(dataRequestManager));
     this._logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }