self::
assertThat($notification,
new NotifierConstraint\
NotificationSubjectContains($text),
$message);
} public static function assertNotificationSubjectNotContains(MessageInterface
$notification, string
$text, string
$message = ''
): void
{ self::
assertThat($notification,
new LogicalNot(new NotifierConstraint\
NotificationSubjectContains($text)),
$message);
} public static function assertNotificationTransportIsEqual(MessageInterface
$notification, string
$transportName, string
$message = ''
): void
{ self::
assertThat($notification,
new NotifierConstraint\
NotificationTransportIsEqual($transportName),
$message);
} public static function assertNotificationTransportIsNotEqual(MessageInterface
$notification, string
$transportName, string
$message = ''
): void
{ self::
assertThat($notification,
new LogicalNot(new NotifierConstraint\
NotificationTransportIsEqual($transportName)),
$message);
} /**
* @return MessageEvent[]
*/
public static function getNotifierEvents(string
$transportName = null
): array
{