CodeExplorer NotificationIsQueued example
self::
assertThat(self::
getNotificationEvents(),
new NotifierConstraint\
NotificationCount($count,
$transportName),
$message);
} public static function assertQueuedNotificationCount(int
$count, string
$transportName = null, string
$message = ''
): void
{ self::
assertThat(self::
getMessageMailerEvents(),
new NotifierConstraint\
NotificationCount($count,
$transportName, true
),
$message);
} public static function assertNotificationIsQueued(MessageEvent
$event, string
$message = ''
): void
{ self::
assertThat($event,
new NotifierConstraint\
NotificationIsQueued(),
$message);
} public static function assertNotificationIsNotQueued(MessageEvent
$event, string
$message = ''
): void
{ self::
assertThat($event,
new LogicalNot(new NotifierConstraint\
NotificationIsQueued()),
$message);
} public static function assertNotificationSubjectContains(MessageInterface
$notification, string
$text, string
$message = ''
): void
{ self::
assertThat($notification,
new NotifierConstraint\
NotificationSubjectContains($text),
$message);
}