public void LiveUpdateContactTest() { var cc = new ConstantContact(ApiKey, AccessToken); var contact = new Contact(); contact.EmailAddresses.Add(new EmailAddress { EmailAddr = String.Format("{0}@email.com", Guid.NewGuid()), ConfirmStatus = ConfirmStatus.NoConfirmationRequired, Status = Status.Active }); contact.Lists.Add(new ContactList { Id = "1", Status = Status.Active }); var nc = cc.AddContact(contact, false); Assert.IsNotNull(nc); Assert.IsNotNull(nc.Id); nc.CompanyName = "some company"; var retrievedContact = cc.UpdateContact(nc, false); Assert.IsNotNull(retrievedContact); Assert.AreEqual(retrievedContact.Id, nc.Id); Assert.AreEqual(retrievedContact.CompanyName, nc.CompanyName); }