Ejemplo n.º 1
0
        public void TestGetCurrencyRateByValability()
        {
            String       currencyVal   = "12.2015";
            Double       rate          = 2.13;
            Currency     validCurrency = currencyService.GetCurrencyByName("Euro");
            CurrencyRate currencyRate  = currencyRateService.GetCurrencyRateByMonth(currencyVal, validCurrency);

            Assert.AreEqual(currencyRate.RateToRON, rate);
        }