CodeExplorer EmailIsQueued example
self::
assertThat(self::
getMessageMailerEvents(),
new MailerConstraint\
EmailCount($count,
$transport),
$message);
} public static function assertQueuedEmailCount(int
$count, string
$transport = null, string
$message = ''
): void
{ self::
assertThat(self::
getMessageMailerEvents(),
new MailerConstraint\
EmailCount($count,
$transport, true
),
$message);
} public static function assertEmailIsQueued(MessageEvent
$event, string
$message = ''
): void
{ self::
assertThat($event,
new MailerConstraint\
EmailIsQueued(),
$message);
} public static function assertEmailIsNotQueued(MessageEvent
$event, string
$message = ''
): void
{ self::
assertThat($event,
new LogicalNot(new MailerConstraint\
EmailIsQueued()),
$message);
} public static function assertEmailAttachmentCount(RawMessage
$email, int
$count, string
$message = ''
): void
{ self::
assertThat($email,
new MimeConstraint\
EmailAttachmentCount($count),
$message);
}