public void AccountNumberValidator_InvalidCountry_Expected_InvalidCountryException(string accountNumber) { Action action = () => _accountNumberValidator.IsValid(null, accountNumber); TestUtil.ExpectedException <InvalidCountryException>(action); }
private void AccountNumberValidator_Is_Not_Valid_Account_Number(ICountry country, string accountNumber) { Assert.IsFalse(_accountNumberValidator.IsValid(country, accountNumber)); }