public async Task TestGetSet() { const string url = "https://test.com"; await _repository.AddAsync(url); Assert.IsTrue(await _repository.ExistsAsync(url)); }
private async Task SendUpdate(Update update) { _updatesPublisher.Send(update); if (_config.StoreSentUpdates) { await _sentUpdatesRepository.AddAsync(update.Url); } }