public void TestGetPreviousExchangeData() { var date = new DateTime(2018, 1, 1); var fromCurrency = "USD"; var toCurrency = "VND"; var result = ExchangeRateService.GetPreviousExchangeData(date, fromCurrency, toCurrency); Assert.AreEqual(result.Length, 12); }