CampaignItemsUtilTest Class Reference

Inheritance diagram for CampaignItemsUtilTest:
AutoresponderOrCampaignBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyHtml ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText ()
 testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable ()
 testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail ()
 testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail ()
 testProcessDueCampaignItemWithCustomFromAddressAndFromName ()
 testProcessDueCampaignItemWithValidMergeTags ()
 testProcessDueCampaignItemWithAttachments ()
 testGenerateCampaignItemsForDueCampaigns ()
 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 87 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTagsForOnlyText NotFoundException

Definition at line 114 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags (  ) 

testProcessDueCampaignItemThrowsExceptionWhenNoContactIsAvailable NotSupportedException Provided content contains few invalid merge tags

Definition at line 125 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail (  ) 

testProcessDueCampaignItemThrowsExceptionWhenContentHasInvalidMergeTags

Definition at line 150 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasPrimaryEmail (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 203 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithCustomFromAddressAndFromName (  ) 

testProcessDueCampaignItemDoesNotThrowExceptionWhenContactHasNoPrimaryEmail

Definition at line 258 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithValidMergeTags (  ) 

testProcessDueCampaignItemWithCustomFromAddressAndFromName

Definition at line 315 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithAttachments (  ) 

@//depends testProcessDueCampaignItemWithValidMergeTags

Definition at line 374 of file CampaignItemsUtilTest.php.

testGenerateCampaignItemsForDueCampaigns (  ) 

testProcessDueCampaignItemWithAttachments

Definition at line 455 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithOptout (  ) 

testGenerateCampaignItemsForDueCampaigns

Definition at line 503 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithReturnPathHeaders (  ) 

testProcessDueCampaignItemWithOptout

Definition at line 542 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutHtmlContent (  ) 

testProcessDueCampaignItemWithReturnPathHeaders

Definition at line 603 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutTextContent (  ) 

testProcessDueCampaignItemWithoutHtmlContent

Definition at line 637 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutRichTextSupport (  ) 

testProcessDueCampaignItemWithoutTextContent

Definition at line 671 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithModelUrlMergeTag (  ) 

testProcessDueCampaignItemWithoutRichTextSupport

Definition at line 705 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemSenderIsSetFromCampaign (  ) 

testProcessDueCampaignItemWithModelUrlMergeTag

Definition at line 741 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag (  ) 

testProcessDueCampaignItemSenderIsSetFromCampaign

Definition at line 775 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag (  ) 

testProcessDueCampaignItemWithUnsubscribeUrlMergeTag

Definition at line 817 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithManageSubscriptionsUrlMergeTag

Definition at line 859 of file CampaignItemsUtilTest.php.

testProcessDueCampaignItemWithoutUnsubscribeAndManageSubscriptionsUrlMergeTags (  ) 

testProcessDueCampaignItemWithUnsubscribeAndManageSubscriptionsUrlMergeTags

Definition at line 908 of file CampaignItemsUtilTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Dec 11 07:10:55 2019