426 lines
13 KiB
YAML
426 lines
13 KiB
YAML
|
name: MessengerPassTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: ChildDefinition
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\ChildDefinition
|
||
|
- name: AttributeAutoconfigurationPass
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass
|
||
|
- name: ResolveChildDefinitionsPass
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass
|
||
|
- name: ResolveClassPass
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Compiler\ResolveClassPass
|
||
|
- name: ResolveInstanceofConditionalsPass
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass
|
||
|
- name: ContainerBuilder
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\ContainerBuilder
|
||
|
- name: LogicException
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Exception\LogicException
|
||
|
- name: RuntimeException
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Exception\RuntimeException
|
||
|
- name: Reference
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\Reference
|
||
|
- name: ServiceLocator
|
||
|
type: class
|
||
|
source: Symfony\Component\DependencyInjection\ServiceLocator
|
||
|
- name: AsMessageHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Attribute\AsMessageHandler
|
||
|
- name: AmqpReceiver
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpReceiver
|
||
|
- name: ConsumeMessagesCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Command\ConsumeMessagesCommand
|
||
|
- name: DebugCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Command\DebugCommand
|
||
|
- name: FailedMessagesRetryCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Command\FailedMessagesRetryCommand
|
||
|
- name: FailedMessagesShowCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Command\FailedMessagesShowCommand
|
||
|
- name: SetupTransportsCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Command\SetupTransportsCommand
|
||
|
- name: MessengerDataCollector
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\DataCollector\MessengerDataCollector
|
||
|
- name: MessengerPass
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\DependencyInjection\MessengerPass
|
||
|
- name: Envelope
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Envelope
|
||
|
- name: HandlersLocator
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Handler\HandlersLocator
|
||
|
- name: MessageBusInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\MessageBusInterface
|
||
|
- name: HandleMessageMiddleware
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Middleware\HandleMessageMiddleware
|
||
|
- name: MiddlewareInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
||
|
- name: StackInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Middleware\StackInterface
|
||
|
- name: ChildDummyMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\ChildDummyMessage
|
||
|
- name: DummyCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyCommand
|
||
|
- name: DummyCommandHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyCommandHandler
|
||
|
- name: DummyHandlerWithCustomMethods
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyHandlerWithCustomMethods
|
||
|
- name: DummyMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
- name: DummyQuery
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyQuery
|
||
|
- name: DummyQueryHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\DummyQueryHandler
|
||
|
- name: MultipleBusesMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\MultipleBusesMessage
|
||
|
- name: MultipleBusesMessageHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\MultipleBusesMessageHandler
|
||
|
- name: SecondMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\SecondMessage
|
||
|
- name: TaggedDummyHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\TaggedDummyHandler
|
||
|
- name: TaggedDummyHandlerWithUnionTypes
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\TaggedDummyHandlerWithUnionTypes
|
||
|
- name: ThirdMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\ThirdMessage
|
||
|
- name: UnionBuiltinTypeArgumentHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\UnionBuiltinTypeArgumentHandler
|
||
|
- name: UnionTypeArgumentHandler
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\UnionTypeArgumentHandler
|
||
|
- name: UnionTypeOneMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\UnionTypeOneMessage
|
||
|
- name: UnionTypeTwoMessage
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Tests\Fixtures\UnionTypeTwoMessage
|
||
|
- name: ReceiverInterface
|
||
|
type: class
|
||
|
source: Symfony\Component\Messenger\Transport\Receiver\ReceiverInterface
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testProcess
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testFromTransportViaTagAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testHandledMessageTypeResolvedWithMethodAndNoHandlesViaTagAttributes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testTaggedMessageHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testTaggedMessageHandlerWithUnionTypes
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testProcessHandlersByBus
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testProcessTagWithUnknownBus
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetClassesFromTheAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testGetClassesAndMethodsAndPrioritiesFromTheAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRegisterAbstractHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testThrowsExceptionIfTheHandlerClassDoesNotExist
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testThrowsExceptionIfTheHandlerMethodDoesNotExist
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItRegistersReceivers
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItRegistersReceiversWithoutTagName
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItRegistersMultipleReceiversAndSetsTheReceiverNamesOnTheCommand
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItSetsTheReceiverNamesOnTheSetupTransportsCommand
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItRegistersHandlersOnDifferentBuses
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItThrowsAnExceptionOnUnknownBus
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testUndefinedMessageClassForHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testUndefinedMessageClassForHandlerViaAttribute
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNotInvokableHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMissingArgumentHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMissingArgumentTypeHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testBuiltinArgumentTypeHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testUnionTypeArgumentsTypeHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testUnionBuiltinArgumentTypeHandler
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testNeedsToHandleAtLeastOneMessage
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRegistersTraceableBusesToCollector
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testRegistersMiddlewareFromServices
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testCannotRegistersAnUndefinedMiddleware
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testMiddlewareFactoryDefinitionMustBeAbstract
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testItRegistersTheDebugCommand
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: getContainerBuilder
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: busId
|
||
|
default: '''message_bus'''
|
||
|
comment: null
|
||
|
- name: assertHandlerDescriptor
|
||
|
visibility: private
|
||
|
parameters:
|
||
|
- name: container
|
||
|
- name: mapping
|
||
|
- name: message
|
||
|
- name: handlerClasses
|
||
|
- name: options
|
||
|
default: '[]'
|
||
|
comment: null
|
||
|
- name: testFailedCommandsRegisteredWithServiceLocatorArgumentReplaced
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: get
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: stop
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: ack
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: envelope
|
||
|
comment: null
|
||
|
- name: reject
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: envelope
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: dummyMethod
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: secondMessage
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: __invoke
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: dummyMethodForEvents
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: dummyMethodForCommands
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: dummyMethodForSomeBus
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
comment: null
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: message
|
||
|
- name: stack
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\DependencyInjection\ChildDefinition
|
||
|
- Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass
|
||
|
- Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass
|
||
|
- Symfony\Component\DependencyInjection\Compiler\ResolveClassPass
|
||
|
- Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass
|
||
|
- Symfony\Component\DependencyInjection\ContainerBuilder
|
||
|
- Symfony\Component\DependencyInjection\Exception\LogicException
|
||
|
- Symfony\Component\DependencyInjection\Exception\RuntimeException
|
||
|
- Symfony\Component\DependencyInjection\Reference
|
||
|
- Symfony\Component\DependencyInjection\ServiceLocator
|
||
|
- Symfony\Component\Messenger\Attribute\AsMessageHandler
|
||
|
- Symfony\Component\Messenger\Bridge\Amqp\Transport\AmqpReceiver
|
||
|
- Symfony\Component\Messenger\Command\ConsumeMessagesCommand
|
||
|
- Symfony\Component\Messenger\Command\DebugCommand
|
||
|
- Symfony\Component\Messenger\Command\FailedMessagesRetryCommand
|
||
|
- Symfony\Component\Messenger\Command\FailedMessagesShowCommand
|
||
|
- Symfony\Component\Messenger\Command\SetupTransportsCommand
|
||
|
- Symfony\Component\Messenger\DataCollector\MessengerDataCollector
|
||
|
- Symfony\Component\Messenger\DependencyInjection\MessengerPass
|
||
|
- Symfony\Component\Messenger\Envelope
|
||
|
- Symfony\Component\Messenger\Handler\HandlersLocator
|
||
|
- Symfony\Component\Messenger\MessageBusInterface
|
||
|
- Symfony\Component\Messenger\Middleware\HandleMessageMiddleware
|
||
|
- Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
||
|
- Symfony\Component\Messenger\Middleware\StackInterface
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\ChildDummyMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyCommand
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyCommandHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyHandlerWithCustomMethods
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyQuery
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\DummyQueryHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\MultipleBusesMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\MultipleBusesMessageHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\SecondMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\TaggedDummyHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\TaggedDummyHandlerWithUnionTypes
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\ThirdMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\UnionBuiltinTypeArgumentHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\UnionTypeArgumentHandler
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\UnionTypeOneMessage
|
||
|
- Symfony\Component\Messenger\Tests\Fixtures\UnionTypeTwoMessage
|
||
|
- Symfony\Component\Messenger\Transport\Receiver\ReceiverInterface
|
||
|
interfaces:
|
||
|
- ReceiverInterface
|
||
|
- MiddlewareInterface
|