public void TestGetExchangeDataOfDay() { var date = new DateTime(2018, 1, 1); var fromCurrency = "USD"; var toCurrency = "VND"; var result = ExchangeRateService.GetExchangeDataOfDay(date, fromCurrency, toCurrency); Assert.AreEqual(result, 22700.883864); }