92 lines
2.6 KiB
YAML
92 lines
2.6 KiB
YAML
|
name: MessageBusTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: Envelope
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Envelope
|
||
|
- name: MessageBus
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\MessageBus
|
||
|
- name: MessageBusInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\MessageBusInterface
|
||
|
- name: MiddlewareInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
||
|
- name: StackInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Middleware\StackInterface
|
||
|
- name: BusNameStamp
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Stamp\BusNameStamp
|
||
|
- name: DelayStamp
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Stamp\DelayStamp
|
||
|
- name: ReceivedStamp
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Stamp\ReceivedStamp
|
||
|
- name: AnEnvelopeStamp
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\AnEnvelopeStamp
|
||
|
- name: DummyMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testItHasTheRightInterface
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItCallsMiddleware
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testThatAMiddlewareCanAddSomeStampsToTheEnvelope
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testThatAMiddlewareCanUpdateTheMessageWhileKeepingTheEnvelopeStamps
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItAddsTheStamps
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItAddsTheStampsToEnvelope
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: provideConstructorDataStucture
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testConstructDataStructure
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: dataStructure
|
||
|
comment: '# @dataProvider provideConstructorDataStucture'
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: envelope
|
||
|
- name: stack
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Messenger\Envelope
|
||
|
- Symfony\Component\Messenger\MessageBus
|
||
|
- Symfony\Component\Messenger\MessageBusInterface
|
||
|
- Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
||
|
- Symfony\Component\Messenger\Middleware\StackInterface
|
||
|
- Symfony\Component\Messenger\Stamp\BusNameStamp
|
||
|
- Symfony\Component\Messenger\Stamp\DelayStamp
|
||
|
- Symfony\Component\Messenger\Stamp\ReceivedStamp
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\AnEnvelopeStamp
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
interfaces:
|
||
|
- MiddlewareInterface
|