public PerformAutomaticStudyDownload( IGetStudy getStudy, IMoveCompletedDownloadToken moveCompletedDownloadToken, IAddedDownloadTokensCache addedDownloadTokensCache) { this.moveCompletedDownloadToken = moveCompletedDownloadToken; this.addedDownloadTokensCache = addedDownloadTokensCache; this.getStudy = getStudy; }
public TryAddDownloadToken( IAddedDownloadTokensCache addedDownloadTokensCache, IReadDownloadToken readDownloadToken, ILogger <TryAddDownloadToken> logger) { this.readDownloadToken = readDownloadToken; this.logger = logger; this.addedDownloadTokensCache = addedDownloadTokensCache; }
public TryAddDownloadTokenTests() { this.addedDownloadTokensCache = Substitute.For <IAddedDownloadTokensCache>(); this.readDownloadToken = Substitute.For <IReadDownloadToken>(); this.logger = Substitute.For <ILogger <TryAddDownloadToken> >(); this.target = new( this.addedDownloadTokensCache, this.readDownloadToken, this.logger); }
public PerformAutomaticStudyDownloadTests() { this.getStudy = Substitute.For <IGetStudy>(); this.moveCompletedDownloadToken = Substitute.For <IMoveCompletedDownloadToken>(); this.addedDownloadTokensCache = Substitute.For <IAddedDownloadTokensCache>(); this.target = new PerformAutomaticStudyDownload( this.getStudy, this.moveCompletedDownloadToken, this.addedDownloadTokensCache); }