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); }
public GetStudy( IEnsureAuthenticated ensureAuthenticated, ISimVersionCache simVersionCache, IGetDefaultConfig getDefaultConfig, IGetDefaultConfigPath getDefaultConfigPath, ISimVersionClient simVersionClient, IStudyClient studyClient, IWaitForStudy waitForStudy, IGetStudy getStudy, IDownloadBlobDirectoryMock downloadBlobDirectoryMock, ILogger <GetStudy> logger) { this.ensureAuthenticated = ensureAuthenticated; this.simVersionCache = simVersionCache; this.getDefaultConfig = getDefaultConfig; this.getDefaultConfigPath = getDefaultConfigPath; this.simVersionClient = simVersionClient; this.studyClient = studyClient; this.waitForStudy = waitForStudy; this.getStudy = getStudy; this.downloadBlobDirectoryMock = downloadBlobDirectoryMock; this.logger = logger; }