public void ShouldValidateBankGiroAccount(string account,
                                                  bool valid,
                                                  ValidationResult validationResult)
        {
            var sut = new BankGiro(account);

            Assert.AreEqual(valid, sut.IsValid);
            Assert.AreEqual(validationResult, sut.ValidationResult);
        }
Esempio n. 2
0
        public void ShouldFormat16(string account, string expected)
        {
            var sut = new BankGiro(account);

            Assert.AreEqual(expected, sut.FormatBgc16);
        }