public BackupDatabaseJob(IFileStorageService fileStorageService, IGearHostApiService gearHostApiService, IConfigurationProvider configurationProvider, ILog log) { _fileStorageService = fileStorageService; _gearHostApiService = gearHostApiService; _configurationProvider = configurationProvider; _log = log; }
public void Setup() { _configurationProviderMock = new Mock <IConfigurationProvider>(); _httpClientServiceMock = new Mock <IHttpClientService>(); _service = new GearHostApiService(_configurationProviderMock.Object, _httpClientServiceMock.Object); }