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

namespace Grand.Plugin.Tests.ExchangeRate
{
    [TestClass]
    public class NbpExchangeTest
    {
        [TestMethod]
        public async Task SimpleTest()
        {
            var exchange = new NbpExchange();
            try
            {
                var result = await exchange.GetCurrencyLiveRates();
                Assert.IsNotNull(result);
            }
            catch
            {
                Assert.IsFalse(false);
            }

        }
    }
}
