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