CodeExplorer NotificationSubjectContains example
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);
} 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);
}