public async Task Skip_Wrong_Quote() { // arrange var quote = new Quote("BTCUSD", DateTime.UtcNow.AddMinutes(-1), 10, 9, "lykke"); var invalidQuote = new Quote("BTCUSD", DateTime.UtcNow, 100, 90, "lykke"); // act await _service.SetAsync(quote); await _service.SetAsync(invalidQuote); Quote actualQuote = await _service.GetAsync("lykke", quote.AssetPair); // assert Assert.IsTrue(quote.Ask == actualQuote.Ask && quote.Bid == actualQuote.Bid && quote.Time == actualQuote.Time); }