public void LiveActivityClearListTest() { var cc = new ConstantContact(ApiKey, AccessToken); var emailAddresses = new List<string> { String.Format("{0}@example.com", Guid.NewGuid()) }; var lists = new List<string> { "2" }; var add = new AddContacts( new List<AddContactsImportData>{ new AddContactsImportData{ EmailAddresses = emailAddresses } }, lists, null ); Activity act = cc.CreateAddContactsActivity(add); Assert.IsNotNull(act); Activity activity = cc.AddClearListsActivity(lists); Assert.IsNotNull(activity); Assert.AreEqual(activity.Type, "CLEAR_CONTACTS_FROM_LISTS"); }