private void BranchCodeValidator_Is_Not_Valid_Branch_Code(ICountry country, string branchCode) { Assert.IsFalse(_branchCodeValidator.IsValid(country, branchCode)); }
public void BranchCodeValidator_InvalidCountry_Expected_InvalidCountryException(string branchCode) { Action action = () => _branchCodeValidator.IsValid(null, branchCode); TestUtil.ExpectedException <InvalidCountryException>(action); }