示例#1
0
 public static void Create_ThrowsArgumentNullException_ForNull(
     string institutionCode,
     string countryCode,
     string locationCode,
     string branchCode)
 => Assert.Throws <ArgumentNullException>(
     () => Bic.Create(institutionCode, countryCode, locationCode, branchCode));
示例#2
0
 public static void Create_DoesNotThrowArgumentException_ForValidInputs()
 {
     Bic.Create("ABCD", "BE", "BB", String.Empty);
     Bic.Create("ABCD", "BE", "BB", "XXX");
 }
示例#3
0
 public static void Create_ThrowsArgumentException_ForInvalidBranchCodeLength(string value)
 => Assert.Throws <ArgumentException>(() => Bic.Create("ABCD", "BE", "BB", value));
示例#4
0
 public static void Create_ThrowsArgumentException_ForInvalidInstitutionCodeLength(string value)
 => Assert.Throws <ArgumentException>(() => Bic.Create(value, "BE", "BB", "XXX"));