public void ShouldValidateBankGiroAccount(string account, bool valid, ValidationResult validationResult) { var sut = new BankGiro(account); Assert.AreEqual(valid, sut.IsValid); Assert.AreEqual(validationResult, sut.ValidationResult); }
public void ShouldFormat16(string account, string expected) { var sut = new BankGiro(account); Assert.AreEqual(expected, sut.FormatBgc16); }