public void Init() { _latestTwoTickerPrices = new LatestTwoTickerPrices { LatestQuote = new Quote { Close = 10 }, PreviousQuote = new Quote { Close = 20 } }; }
public void GetTwoTickerPricesByRange_ShouldGive_Next_Two_Quoutes_For_1_2_Range() { var expected = new LatestTwoTickerPrices { LatestQuote = _secondQuote, LatestDate = _secondDate, PreviousQuote = _thirdQuote, PreviousDate = _thirdDate }; _equityPrices.GetTopTickerPricesByRange(1, 2).Should() .BeEquivalentTo(expected); }