public void ToString_2Items_infoAtQowaivDotOrgCommaTestAtQowaivDotOrg() { var collection = new EmailAddressCollection(EmailAddress.Parse("*****@*****.**"), EmailAddress.Parse("*****@*****.**")); var exp = "[email protected],[email protected]"; var act = collection.ToString(); Assert.AreEqual(exp, act); }
public void ToString_EmptyCollection_StringEmpty() { var collection = new EmailAddressCollection(); var exp = string.Empty; var act = collection.ToString(); Assert.AreEqual(exp, act); }