public PerformAutomaticStudyDownload( IGetStudy getStudy, IMoveCompletedDownloadToken moveCompletedDownloadToken, IAddedDownloadTokensCache addedDownloadTokensCache) { this.moveCompletedDownloadToken = moveCompletedDownloadToken; this.addedDownloadTokensCache = addedDownloadTokensCache; this.getStudy = getStudy; }
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); }