public void Setup() { _client = Substitute.For <IHttpClient>(); _configManager = Substitute.For <IConfigManager>(); _config = new NdmConfig(); _configManager.GetAsync(ConfigId).Returns(_config); _timestamper = new Timestamper(_now); _testTimestamper = new TestTimestamper(_now); _gasPriceService = new GasPriceService(_client, _configManager, ConfigId, _testTimestamper, LimboLogs.Instance); }
public void Setup() { _client = Substitute.For <IHttpClient>(); _timestamper = new TestTimestamper(_now); _priceService = new PriceService(_client, _timestamper, LimboLogs.Instance); }