platform/api/symfony/Bundle/FrameworkBundle/Test/NotificationAssertionsTrait.yaml

125 lines
2.8 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: NotificationAssertionsTrait
class_comment: null
dependencies:
- name: LogicalNot
type: class
source: PHPUnit\Framework\Constraint\LogicalNot
- name: MessageEvent
type: class
source: Symfony\Component\Notifier\Event\MessageEvent
- name: NotificationEvents
type: class
source: Symfony\Component\Notifier\Event\NotificationEvents
- name: MessageInterface
type: class
source: Symfony\Component\Notifier\Message\MessageInterface
- name: NotifierConstraint
type: class
source: Symfony\Component\Notifier\Test\Constraint
properties: []
methods:
- name: assertNotificationCount
visibility: public
parameters:
- name: count
- name: transportName
default: 'null'
- name: message
default: ''''''
comment: null
- name: assertQueuedNotificationCount
visibility: public
parameters:
- name: count
- name: transportName
default: 'null'
- name: message
default: ''''''
comment: null
- name: assertNotificationIsQueued
visibility: public
parameters:
- name: event
- name: message
default: ''''''
comment: null
- name: assertNotificationIsNotQueued
visibility: public
parameters:
- name: event
- name: message
default: ''''''
comment: null
- name: assertNotificationSubjectContains
visibility: public
parameters:
- name: notification
- name: text
- name: message
default: ''''''
comment: null
- name: assertNotificationSubjectNotContains
visibility: public
parameters:
- name: notification
- name: text
- name: message
default: ''''''
comment: null
- name: assertNotificationTransportIsEqual
visibility: public
parameters:
- name: notification
- name: transportName
default: 'null'
- name: message
default: ''''''
comment: null
- name: assertNotificationTransportIsNotEqual
visibility: public
parameters:
- name: notification
- name: transportName
default: 'null'
- name: message
default: ''''''
comment: null
- name: getNotifierEvents
visibility: public
parameters:
- name: transportName
default: 'null'
comment: '# * @return MessageEvent[]'
- name: getNotifierEvent
visibility: public
parameters:
- name: index
default: '0'
- name: transportName
default: 'null'
comment: null
- name: getNotifierMessages
visibility: public
parameters:
- name: transportName
default: 'null'
comment: '# * @return MessageInterface[]'
- name: getNotifierMessage
visibility: public
parameters:
- name: index
default: '0'
- name: transportName
default: 'null'
comment: null
- name: getNotificationEvents
visibility: public
parameters: []
comment: null
traits:
- PHPUnit\Framework\Constraint\LogicalNot
- Symfony\Component\Notifier\Event\MessageEvent
- Symfony\Component\Notifier\Event\NotificationEvents
- Symfony\Component\Notifier\Message\MessageInterface
interfaces: []