public void Test_AddEmailAddress() { string value = "*****@*****.**"; GEDCOMAddress instance = (GEDCOMAddress)GEDCOMAddress.Create(null, null, "", ""); instance.AddEmailAddress(value); GEDCOMList <GEDCOMTag> pl = instance.EmailAddresses; Assert.AreEqual(1, pl.Count); string res = pl.Extract(0).StringValue; Assert.AreEqual(res, value); }