Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEmails ¶
CheckEmails verifies that the provided email messages exist on the mock. This method should only be called from a test context and checks to make sure that the given emails were "sent".
Types ¶
type EmailLog ¶ added in v0.5.0
EmailLog combines email data with a mutex to ensure that tests can safely access the mock concurrently.
var Emails EmailLog
Emails contains all emails sent by the mock which tests can use to verify which emails were sent.
Click to show internal directories.
Click to hide internal directories.