Пример #1
0
        public void AddFolder_Successful()
        {
            //  Arrange
            MailChimpManager mc = new MailChimpManager(TestGlobal.Test_APIKey);

            //  Act
            FolderAddResult details = mc.AddFolder("TestFolder", "campaign");

            //  Assert
            Assert.IsNotNull(details);
            Assert.AreNotEqual <int>(0, details.NewFolderId);
        }
Пример #2
0
        public void AddFolder_Successful()
        {
            //  Arrange
            MailChimpManager mc = new MailChimpManager(TestGlobal.Test_APIKey);

            //  Act
            FolderAddResult details = mc.AddFolder("TestFolder", "campaign");

            //  Assert
            Assert.IsNotNull(details);
            Assert.AreNotEqual<int>(0, details.NewFolderId);
        }