platform/api/symfony/Component/Messenger/Tests/Middleware/SendMessageMiddlewareTest.yaml

118 lines
3.6 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: SendMessageMiddlewareTest
class_comment: null
dependencies:
- name: EventDispatcherInterface
type: class
source: Psr\EventDispatcher\EventDispatcherInterface
- name: Container
type: class
source: Symfony\Component\DependencyInjection\Container
- name: Envelope
type: class
source: Symfony\Component\Messenger\Envelope
- name: SendMessageToTransportsEvent
type: class
source: Symfony\Component\Messenger\Event\SendMessageToTransportsEvent
- name: NoSenderForMessageException
type: class
source: Symfony\Component\Messenger\Exception\NoSenderForMessageException
- name: SendMessageMiddleware
type: class
source: Symfony\Component\Messenger\Middleware\SendMessageMiddleware
- name: ReceivedStamp
type: class
source: Symfony\Component\Messenger\Stamp\ReceivedStamp
- name: SentStamp
type: class
source: Symfony\Component\Messenger\Stamp\SentStamp
- name: MiddlewareTestCase
type: class
source: Symfony\Component\Messenger\Test\Middleware\MiddlewareTestCase
- name: ChildDummyMessage
type: class
source: Symfony\Component\Messenger\Tests\Fixtures\ChildDummyMessage
- name: DummyMessage
type: class
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
- name: DummyMessageInterface
type: class
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessageInterface
- name: SenderInterface
type: class
source: Symfony\Component\Messenger\Transport\Sender\SenderInterface
- name: SendersLocator
type: class
source: Symfony\Component\Messenger\Transport\Sender\SendersLocator
properties: []
methods:
- name: testItSendsTheMessageToAssignedSender
visibility: public
parameters: []
comment: null
- name: testItSendsTheMessageToMultipleSenders
visibility: public
parameters: []
comment: null
- name: testItSendsTheMessageToAssignedSenderWithPreWrappedMessage
visibility: public
parameters: []
comment: null
- name: testItSendsTheMessageBasedOnTheMessageParentClass
visibility: public
parameters: []
comment: null
- name: testItSendsTheMessageBasedOnTheMessageInterface
visibility: public
parameters: []
comment: null
- name: testItSendsTheMessageBasedOnWildcard
visibility: public
parameters: []
comment: null
- name: testItCallsTheNextMiddlewareWhenNoSenderForThisMessage
visibility: public
parameters: []
comment: null
- name: testItSkipsReceivedMessages
visibility: public
parameters: []
comment: null
- name: testItDispatchesTheEventOneTime
visibility: public
parameters: []
comment: null
- name: testItDoesNotDispatchWithNoSenders
visibility: public
parameters: []
comment: null
- name: testThrowsNoRoutingException
visibility: public
parameters: []
comment: null
- name: testAllowNoRouting
visibility: public
parameters: []
comment: null
- name: createSendersLocator
visibility: private
parameters:
- name: sendersMap
- name: senders
comment: null
traits:
- Psr\EventDispatcher\EventDispatcherInterface
- Symfony\Component\DependencyInjection\Container
- Symfony\Component\Messenger\Envelope
- Symfony\Component\Messenger\Event\SendMessageToTransportsEvent
- Symfony\Component\Messenger\Exception\NoSenderForMessageException
- Symfony\Component\Messenger\Middleware\SendMessageMiddleware
- Symfony\Component\Messenger\Stamp\ReceivedStamp
- Symfony\Component\Messenger\Stamp\SentStamp
- Symfony\Component\Messenger\Test\Middleware\MiddlewareTestCase
- Symfony\Component\Messenger\Tests\Fixtures\ChildDummyMessage
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessageInterface
- Symfony\Component\Messenger\Transport\Sender\SenderInterface
- Symfony\Component\Messenger\Transport\Sender\SendersLocator
interfaces: []