79 lines
2.8 KiB
YAML
79 lines
2.8 KiB
YAML
|
name: RedisReceiverTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: DummyMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\DummyMessage
|
||
|
- name: ExternalMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\ExternalMessage
|
||
|
- name: ExternalMessageSerializer
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\ExternalMessageSerializer
|
||
|
- name: Connection
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Redis\Transport\Connection
|
||
|
- name: RedisReceiver
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Redis\Transport\RedisReceiver
|
||
|
- name: MessageDecodingFailedException
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Exception\MessageDecodingFailedException
|
||
|
- name: PhpSerializer
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Transport\Serialization\PhpSerializer
|
||
|
- name: Serializer
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Transport\Serialization\Serializer
|
||
|
- name: SerializerInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Transport\Serialization\SerializerInterface
|
||
|
- name: SerializerComponent
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer
|
||
|
- name: JsonEncoder
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Encoder\JsonEncoder
|
||
|
- name: ObjectNormalizer
|
||
|
type: class
|
||
|
source: Symfony\Component\Serializer\Normalizer\ObjectNormalizer
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testItReturnsTheDecodedMessageToTheHandler
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: redisEnvelope
|
||
|
- name: expectedMessage
|
||
|
- name: serializer
|
||
|
comment: '# * @dataProvider redisEnvelopeProvider'
|
||
|
- name: testItRejectTheMessageIfThereIsAMessageDecodingFailedException
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: redisEnvelope
|
||
|
comment: '# * @dataProvider rejectedRedisEnvelopeProvider'
|
||
|
- name: redisEnvelopeProvider
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: rejectedRedisEnvelopeProvider
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\DummyMessage
|
||
|
- Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\ExternalMessage
|
||
|
- Symfony\Component\Messenger\Bridge\Redis\Tests\Fixtures\ExternalMessageSerializer
|
||
|
- Symfony\Component\Messenger\Bridge\Redis\Transport\Connection
|
||
|
- Symfony\Component\Messenger\Bridge\Redis\Transport\RedisReceiver
|
||
|
- Symfony\Component\Messenger\Exception\MessageDecodingFailedException
|
||
|
- Symfony\Component\Messenger\Transport\Serialization\PhpSerializer
|
||
|
- Symfony\Component\Messenger\Transport\Serialization\Serializer
|
||
|
- Symfony\Component\Messenger\Transport\Serialization\SerializerInterface
|
||
|
- Symfony\Component\Serializer\Encoder\JsonEncoder
|
||
|
- Symfony\Component\Serializer\Normalizer\ObjectNormalizer
|
||
|
interfaces: []
|