NotificationTransportIsEqual example


        self::assertThat($notificationnew NotifierConstraint\NotificationSubjectContains($text)$message);
    }

    public static function assertNotificationSubjectNotContains(MessageInterface $notification, string $text, string $message = ''): void
    {
        self::assertThat($notificationnew LogicalNot(new NotifierConstraint\NotificationSubjectContains($text))$message);
    }

    public static function assertNotificationTransportIsEqual(MessageInterface $notification, string $transportName, string $message = ''): void
    {
        self::assertThat($notificationnew NotifierConstraint\NotificationTransportIsEqual($transportName)$message);
    }

    public static function assertNotificationTransportIsNotEqual(MessageInterface $notification, string $transportName, string $message = ''): void
    {
        self::assertThat($notificationnew LogicalNot(new NotifierConstraint\NotificationTransportIsEqual($transportName))$message);
    }

    /** * @return MessageEvent[] */
    public static function getNotifierEvents(string $transportName = null): array
    {
Home | Imprint | This part of the site doesn't use cookies.