コード例 #1
0
        public void AccountNumberValidator_InvalidCountry_Expected_InvalidCountryException(string accountNumber)
        {
            Action action = () => _accountNumberValidator.IsValid(null, accountNumber);

            TestUtil.ExpectedException <InvalidCountryException>(action);
        }
コード例 #2
0
 private void AccountNumberValidator_Is_Not_Valid_Account_Number(ICountry country, string accountNumber)
 {
     Assert.IsFalse(_accountNumberValidator.IsValid(country, accountNumber));
 }