CampaignItemsUtilTest Class Reference

Inheritance diagram for CampaignItemsUtilTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText ()
 testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail ()
 testProcessDueCampaignItemWithCustomFromAddressAndFromName ()
 testProcessDueCampaignItemWithValidMergeTags ()
 testProcessDueCampaignItemWithAttachments ()
 testGenerateCampaignItemsForDueCampaigns ()
 testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize ()
 testProcessDueCampaignItemWithOptout ()
 testProcessDueCampaignItemWithReturnPathHeaders ()
 testProcessDueCampaignItemWithoutHtmlContent ()
 testProcessDueCampaignItemWithoutTextContent ()
 testProcessDueCampaignItemWithoutRichTextSupport ()
 testProcessDueCampaignItemWithModelUrlMergeTag ()
 testProcessDueCampaignItemSenderIsSetFromCampaign ()
 testProcessDueCampaignItemWithUnsubscribeUrlMergeTag ()
 testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag ()
 testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags ()
 testProcessDueCampaignItemContactUnsubscribed ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Attributes

 $user

Detailed Description

Definition at line 36 of file CampaignItemsUtilTest.php.


Member Function Documentation

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml (  ) 

Do not throw exception. That means it passes

Definition at line 59 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml Do not throw exception. That means it passes

Definition at line 86 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText NotFoundException

Definition at line 113 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags (  ) 

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable NotSupportedException Provided content contains few invalid merge tags

Definition at line 124 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags

Definition at line 148 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 200 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithCustomFromAddressAndFromName (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 254 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithValidMergeTags (  ) 

testProcessDueCampaignItemWithCustomFromAddressAndFromName

Definition at line 310 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithAttachments (  ) 

testProcessDueCampaignItemWithValidMergeTags

Definition at line 368 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaigns (  ) 

testProcessDueCampaignItemWithAttachments

Definition at line 448 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize (  ) 

testGenerateCampaignItemsForDueCampaigns

Definition at line 500 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithOptout (  ) 

testGenerateCampaignItemsForDueCampaignsWithCustomBatchSize

Definition at line 618 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithReturnPathHeaders (  ) 

testProcessDueCampaignItemWithOptout

Definition at line 657 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutHtmlContent (  ) 

testProcessDueCampaignItemWithReturnPathHeaders

Definition at line 717 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutTextContent (  ) 

testProcessDueCampaignItemWithoutHtmlContent

Definition at line 750 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutRichTextSupport (  ) 

testProcessDueCampaignItemWithoutTextContent

Definition at line 783 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithModelUrlMergeTag (  ) 

testProcessDueCampaignItemWithoutRichTextSupport

Definition at line 816 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemSenderIsSetFromCampaign (  ) 

testProcessDueCampaignItemWithModelUrlMergeTag

Definition at line 853 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag (  ) 

testProcessDueCampaignItemSenderIsSetFromCampaign

Definition at line 886 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag (  ) 

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag

Definition at line 929 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag

Definition at line 972 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags

Definition at line 1024 of file CampaignItemsUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:23 2017