PHP Class ProophTest\ServiceBus\CommandBusTest

Inheritance: extends TestCase
Show file Open project: prooph/service-bus

Public Methods

Method Description
it_dispatches_a_message_using_the_default_process ( )
it_passes_queued_commands_to_command_dispatch_exception_in_case_of_an_error ( )
it_queues_new_commands_as_long_as_it_is_dispatching ( )
it_throws_exception_if_event_has_no_handler_after_it_has_been_set_and_event_was_triggered ( )
it_throws_exception_if_message_was_not_handled ( )
it_throws_service_bus_exception_if_exception_is_not_handled_by_a_plugin ( )
it_triggers_all_defined_action_events ( )
it_uses_the_fqcn_of_the_message_if_message_name_was_not_provided_and_message_does_not_implement_has_message_name ( )

Protected Methods

Method Description
setUp ( )

Method Details

it_dispatches_a_message_using_the_default_process() public method

it_passes_queued_commands_to_command_dispatch_exception_in_case_of_an_error() public method

it_queues_new_commands_as_long_as_it_is_dispatching() public method

it_throws_exception_if_event_has_no_handler_after_it_has_been_set_and_event_was_triggered() public method

it_throws_exception_if_message_was_not_handled() public method

it_throws_service_bus_exception_if_exception_is_not_handled_by_a_plugin() public method

it_triggers_all_defined_action_events() public method

it_uses_the_fqcn_of_the_message_if_message_name_was_not_provided_and_message_does_not_implement_has_message_name() public method

setUp() protected method

protected setUp ( )