81 lines
2.5 KiB
YAML
81 lines
2.5 KiB
YAML
|
name: SendersLocatorTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ContainerInterface
|
||
|
type: class
|
||
|
source: Psr\Container\ContainerInterface
|
||
|
- name: Container
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Container
|
||
|
- name: Envelope
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Envelope
|
||
|
- name: TransportNamesStamp
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Stamp\TransportNamesStamp
|
||
|
- name: DummyMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
- name: DummyMessageInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessageInterface
|
||
|
- name: DummyMessageWithAttribute
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessageWithAttribute
|
||
|
- name: SecondMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\SecondMessage
|
||
|
- 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: testItReturnsTheSenderBasedOnTheMessageClass
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItReturnsTheSenderBasedOnTransportNamesStamp
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItReturnsTheSenderBasedOnAsMessageAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAsMessageAttributeIsOverridenByTransportNamesStamp
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testAsMessageAttributeIsOverridenByUserConfiguration
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testSendersMapWithFallback
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: createContainer
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: senders
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Psr\Container\ContainerInterface
|
||
|
- Symfony\Component\DependencyInjection\Container
|
||
|
- Symfony\Component\Messenger\Envelope
|
||
|
- Symfony\Component\Messenger\Stamp\TransportNamesStamp
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessageInterface
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessageWithAttribute
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\SecondMessage
|
||
|
- Symfony\Component\Messenger\Transport\Sender\SenderInterface
|
||
|
- Symfony\Component\Messenger\Transport\Sender\SendersLocator
|
||
|
interfaces: []
|