Beispiel #1
0
        public void GetCurrencyCode_WhenCodeIsSupported_ShouldReturnISO4217NumberCorrectly()
        {
            var result = DIBSCurrencies.GetCurrencyCode(new Currency("USD"));

            Assert.Equal("840", result);
        }
Beispiel #2
0
        public void GetCurrencyCode_WhenCodeIsNotSupported_ShouldReturnEmpty()
        {
            var result = DIBSCurrencies.GetCurrencyCode(new Currency("XXX"));

            Assert.Equal(string.Empty, result);
        }