Ejemplo n.º 1
0
        public void LiveActivityExportContactsTest()
        {
            var cc = new ConstantContact(ApiKey, AccessToken);
            var lists = new List<string>() { "1" };

            ExportContacts export = new ExportContacts();
            export.Lists = lists;

            Activity activity = cc.AddExportContactsActivity(export);

            Assert.IsNotNull(activity);
            Assert.IsNotNull(activity.Id);
            Assert.AreEqual(activity.Type, "EXPORT_CONTACTS");
        }