public SentimentAnalysisRequestor(IRequestHeaderFactory headerFactory, AMLSettings settings)
        {
            if (headerFactory == null)
            {
                throw new ArgumentNullException(nameof(headerFactory));
            }

            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            _headerFactory = headerFactory;
            _settings = settings;
        }
        public SentimentAnalysisService(ISentimentAnalysisRequestor requestor, IErrorMessageGenerator errorMessageGenerator, AMLSettings settings)
        {
            if (requestor == null)
            {
                throw new ArgumentNullException(nameof(requestor));
            }

            if (errorMessageGenerator == null)
            {
                throw new ArgumentNullException(nameof(errorMessageGenerator));
            }

            if (settings == null)
            {
                throw new ArgumentNullException(nameof(settings));
            }

            _requestor = requestor;
            _errorMessageGenerator = errorMessageGenerator;
            _settings = settings;
        }