ildar-shaymukhametov_grandnode-refactorings/Tests/Grand.Plugin.Tests/ExchangeRate/EcbExchangeTest.cs
using System;
using System.Threading.Tasks;
using Grand.Plugin.ExchangeRate.McExchange;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Grand.Plugin.Tests.ExchangeRate
{
    [TestClass]
    public class EcbExchangeTest
    {

        [TestMethod]
        public async Task SimpleTest()
        {
            var exchange = new EcbExchange();
            try
            {
                var result = await exchange.GetCurrencyLiveRates();
                Assert.IsNotNull(result);
            }
            catch
            {
                Assert.IsFalse(false);
            }
        }
    }
}
