public FactsetDataSynchroniser( IFactsetDataRequestsManager factsetDataRequestsManager, IFactsetDataRequestFilter requestFilter, ILogger <FactsetDataSynchroniser> logger) { this._factsetDataRequestsManager = factsetDataRequestsManager ?? throw new ArgumentNullException(nameof(factsetDataRequestsManager)); this._requestFilter = requestFilter ?? throw new ArgumentNullException(nameof(requestFilter)); this._logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public void Setup() { this._dataRequestsManager = A.Fake <IFactsetDataRequestsManager>(); this._requestFilter = A.Fake <IFactsetDataRequestFilter>(); A.CallTo(() => this._requestFilter.ValidAssetType(A <MarketDataRequest> .Ignored)).Returns(true); this._requestContext = A.Fake <ISystemProcessOperationThirdPartyDataRequestContext>(); this._logger = A.Fake <ILogger <FactsetDataSynchroniser> >(); }