public void SetUp() { _versionKeyProvider = Substitute.For <IProviderSourceDatasetVersionKeyProvider>(); _fileSystemCache = Substitute.For <IFileSystemCache>(); _cosmosRepository = Substitute.For <ICosmosRepository>(); _resiliencePolicies = CalcEngineResilienceTestHelper.GenerateTestPolicies(); _repository = new ProviderSourceDatasetsRepository(_cosmosRepository, _resiliencePolicies); _specificationId = "specId"; }
private static ICalculatorResiliencePolicies CreateCalculatorResiliencePolicies() { return(CalcEngineResilienceTestHelper.GenerateTestPolicies()); }