PHP Class ProophTest\ServiceBus\Plugin\Router\SingleHandlerRouterTest

Author: Alexander Miertsch ([email protected])
Inheritance: extends ProophTest\ServiceBus\TestCase
Show file Open project: prooph/service-bus

Public Methods

Method Description
it_can_handle_routing_definition_by_chaining_route_to ( )
it_fails_on_routing_a_second_command_before_first_definition_is_finished ( )
it_fails_on_setting_a_handler_before_a_command_is_set ( )
it_fails_when_routing_to_invalid_handler ( )
it_returns_early_when_message_name_is_empty ( )
it_returns_early_when_message_name_is_not_in_event_map ( )
it_takes_a_routing_definition_on_instantiation ( )

Method Details

it_can_handle_routing_definition_by_chaining_route_to() public method

it_fails_on_routing_a_second_command_before_first_definition_is_finished() public method

it_fails_on_setting_a_handler_before_a_command_is_set() public method

it_fails_when_routing_to_invalid_handler() public method

it_returns_early_when_message_name_is_empty() public method

it_returns_early_when_message_name_is_not_in_event_map() public method

it_takes_a_routing_definition_on_instantiation() public method