public void CheckCorrectIso4217()
        {
            //Arrange
            var iso = "USD";
            //Act
            var testIsoService = new Iso4217DataProvider();
            var result         = testIsoService.ValidateCode(iso);

            //Assert
            Assert.IsTrue(result);
        }
        public void CheckEmptyIso4217()
        {
            //Arrange
            var iso = string.Empty;
            //Act
            var testIsoService = new Iso4217DataProvider();
            var result         = testIsoService.ValidateCode(iso);

            //Assert
            Assert.IsFalse(result);
        }
Esempio n. 3
0
        public void CheckWrongIso4217()
        {
            //Arrange
            var iso = "GBS";
            //Act
            var testIsoService = new Iso4217DataProvider();
            var result         = testIsoService.ValidateCode(iso);

            //Assert
            Assert.False(result);
        }