EmailMessageTest Class Reference

Inheritance diagram for EmailMessageTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setUp ()
 testCreateEmailMessageThatIsANotification ()
 testAttemptingToSendEmailInOutbox ()
 testAttemptingToSendEmailNotOutbox ()
 testCreateNormalEmailMessage ()
 testCreateAndSendEmailMessageWithAttachment ()
 testMultipleRecipientsAndTypes ()
 testQueuedEmailsWhenEmailMessageChangeToSentFolder ()
 testRegularUserCanCreateEmailMessageAndSend ()
 testCreateMultipleEmailMessageWithAttachments ()
 testCrudForHasOneAndHasManyEmailMessageRelations ()
 testGetAllByFolderExcludedPausedCampaignMessages ()
 testGetByFolderTypeAndCampaignId ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Attributes

 $user = null

Detailed Description

Definition at line 37 of file EmailMessageTest.php.


Member Function Documentation

testCreateEmailMessageThatIsANotification (  ) 

A notification email is different than a regular outbound email because it is owned by a super user that is different than the user logged in. So the sender does not have a 'person'

Definition at line 79 of file EmailMessageTest.php.

testAttemptingToSendEmailInOutbox (  ) 

testCreateEmailMessageThatIsANotification NotSupportedException

Definition at line 136 of file EmailMessageTest.php.

testAttemptingToSendEmailNotOutbox (  ) 

testAttemptingToSendEmailInOutbox

Definition at line 151 of file EmailMessageTest.php.

testCreateNormalEmailMessage (  ) 

testAttemptingToSendEmailNotOutbox

Definition at line 170 of file EmailMessageTest.php.

testCreateAndSendEmailMessageWithAttachment (  ) 

testCreateNormalEmailMessage

Definition at line 224 of file EmailMessageTest.php.

testMultipleRecipientsAndTypes (  ) 

testCreateAndSendEmailMessageWithAttachment

Definition at line 285 of file EmailMessageTest.php.

testQueuedEmailsWhenEmailMessageChangeToSentFolder (  ) 

testMultipleRecipientsAndTypes

Definition at line 358 of file EmailMessageTest.php.

testRegularUserCanCreateEmailMessageAndSend (  ) 

testQueuedEmailsWhenEmailMessageChangeToSentFolder

Definition at line 380 of file EmailMessageTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Aug 25 07:10:55 2019