PHP Class ProophTest\ServiceBus\Factory\BusFactoriesTest

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

Public Methods

Method Description
it_can_handle_application_config_being_of_type_array_access ( $busClass, $busConfigKey, $busFactory )
it_creates_a_bus_and_attaches_the_message_factory_defined_via_configuration ( $busClass, $busConfigKey, $busFactory )
it_creates_a_bus_and_attaches_the_router_defined_via_configuration ( $busClass, $busConfigKey, $busFactory )
it_creates_a_bus_from_static_call ( $busClass, $busFactoryClass )
it_creates_a_bus_with_the_default_router_attached_if_routes_are_configured ( $busClass, $busConfigKey, $busFactory )
it_creates_a_bus_without_needing_a_application_config ( $busClass, $busConfigKey, $busFactory )
it_creates_a_bus_without_needing_prooph_config ( $busClass, $busConfigKey, $busFactory )
it_creates_a_new_bus_with_all_plugins_attached_using_a_container_and_configuration ( $busClass, $busConfigKey, $busFactory )
it_decorates_router_with_async_switch_and_pulls_async_message_producer_from_container ( $busClass, $busConfigKey, $busFactory )
it_enables_handler_location_by_default ( $busClass, $busConfigKey, $busFactory )
it_provides_possibility_to_disable_handler_location ( $busClass, $busConfigKey, $busFactory )
it_throws_a_runtime_exception_if_plugin_is_not_registered_in_container ( $busClass, $busConfigKey, $busFactory )
it_throws_invalid_argument_exception_without_container_on_static_call ( )
provideBusFactoryClasses ( )
provideBuses ( )

Method Details

it_can_handle_application_config_being_of_type_array_access() public method

public it_can_handle_application_config_being_of_type_array_access ( $busClass, $busConfigKey, $busFactory )

it_creates_a_bus_and_attaches_the_message_factory_defined_via_configuration() public method

public it_creates_a_bus_and_attaches_the_message_factory_defined_via_configuration ( $busClass, $busConfigKey, $busFactory )

it_creates_a_bus_and_attaches_the_router_defined_via_configuration() public method

public it_creates_a_bus_and_attaches_the_router_defined_via_configuration ( $busClass, $busConfigKey, $busFactory )

it_creates_a_bus_from_static_call() public method

public it_creates_a_bus_from_static_call ( $busClass, $busFactoryClass )

it_creates_a_bus_with_the_default_router_attached_if_routes_are_configured() public method

public it_creates_a_bus_with_the_default_router_attached_if_routes_are_configured ( $busClass, $busConfigKey, $busFactory )

it_creates_a_bus_without_needing_a_application_config() public method

public it_creates_a_bus_without_needing_a_application_config ( $busClass, $busConfigKey, $busFactory )

it_creates_a_bus_without_needing_prooph_config() public method

public it_creates_a_bus_without_needing_prooph_config ( $busClass, $busConfigKey, $busFactory )

it_creates_a_new_bus_with_all_plugins_attached_using_a_container_and_configuration() public method

it_decorates_router_with_async_switch_and_pulls_async_message_producer_from_container() public method

it_enables_handler_location_by_default() public method

public it_enables_handler_location_by_default ( $busClass, $busConfigKey, $busFactory )

it_provides_possibility_to_disable_handler_location() public method

public it_provides_possibility_to_disable_handler_location ( $busClass, $busConfigKey, $busFactory )

it_throws_a_runtime_exception_if_plugin_is_not_registered_in_container() public method

public it_throws_a_runtime_exception_if_plugin_is_not_registered_in_container ( $busClass, $busConfigKey, $busFactory )

it_throws_invalid_argument_exception_without_container_on_static_call() public method

provideBusFactoryClasses() public method

provideBuses() public method

public provideBuses ( )