Method |
Description |
|
createBus ( string $name = 'name', string[] $methods = [] ) : Channel | PHPUnit_Framework_MockObject_MockObject |
|
|
createChannel ( Kraken\Channel\ChannelInterface[] | Kraken\Channel\ChannelCompositeInterface[] $buses = [], string[] | null $methods = null ) : ChannelComposite | PHPUnit_Framework_MockObject_MockObject |
|
|
createLoop ( string[] | null $methods = null ) : Loop | PHPUnit_Framework_MockObject_MockObject |
|
|
createRouter ( string[] | null $methods = null ) : RouterComposite | PHPUnit_Framework_MockObject_MockObject |
|
|
eventsProvider ( ) : string[][] |
|
|
prepareBus ( string $name = 'name', string[] | null $methods = [] ) : Channel | PHPUnit_Framework_MockObject_MockObject |
|
|
testApiConstructor_CreatesInstance ( ) |
|
|
testApiCreateProtocol_CreatesProtocol_WhenNullPassed ( ) |
|
|
testApiCreateProtocol_CreatesProtocol_WhenStringPassed ( ) |
|
|
testApiDestructor_DoesNotThrowException ( ) |
|
|
testApiExistsBus_ReturnsFalse_WhenBusDoesNotExist ( ) |
|
|
testApiExistsBus_ReturnsTrue_WhenBusDoesExist ( ) |
|
|
testApiFilterConnected_ReturnsEmptyArray_WhenNoBusSet ( ) |
|
|
testApiGetBus_ReturnsBus_WhenBusDoesExist ( ) |
|
|
testApiGetBus_ThrowsException_WhenBusDoesNotExist ( ) |
|
|
testApiGetBuses_ReturnsArrayOfBuses_WhenAtLeastOneBusIsSet ( ) |
|
|
testApiGetBuses_ReturnsEmptyArray_WhenNoBusIsSet ( ) |
|
|
testApiGetConnected_ReturnsEmptyArray_WhenNoBusSet ( ) |
|
|
testApiGetConnected_ReturnsUniqueArrayOfConnectedNames ( ) |
|
|
testApiHandlePushAsync_ReturnsFalseAndDoesNotEmitEvents_WhenAllBusesReturnFalse ( ) |
|
|
testApiHandlePushAsync_ReturnsTrueAndDoesEmitsEvents_WhenAtLeastOneBusReturnTrue ( ) |
|
|
testApiHandlePushRequest_ReturnsFalseAndDoesNotEmitEvents_WhenAllBusesReturnFalse ( ) |
|
|
testApiHandlePushRequest_ReturnsTrueAndDoesEmitsEvents_WhenAtLeastOneBusReturnTrue ( ) |
|
|
testApiHandleSendAsync_HandlesMessageUsingOutput ( ) |
|
|
testApiHandleSendRequest_HandlesMessagUsingOutput ( ) |
|
|
testApiInput_ReturnsRouterInputBus ( ) |
|
|
testApiIsConnected_ReturnsFalse_WhenNoneBusIsSet ( ) |
|
|
testApiIsConnected_ReturnsFalse_WhenNoneBusReturnsTrue ( ) |
|
|
testApiIsConnected_ReturnsTrue_WhenAtLeastOneBusReturnsTrue ( ) |
|
|
testApiIsStarted_ReturnsEmptyArray_WhenNoneBusIsSet ( ) |
|
|
testApiIsStarted_ReturnsStatusesArray ( ) |
|
|
testApiIsStopped_ReturnsEmptyArray_WhenNoneBusIsSet ( ) |
|
|
testApiIsStopped_ReturnsStatusesArray ( ) |
|
|
testApiMatchConnected_ReturnsUniqueArrayOfConnectedNames ( ) |
|
|
testApiModel_ReturnsNull ( ) |
|
|
testApiName_ReturnsName ( ) |
|
|
testApiOutput_ReturnsRouterOutputBus ( ) |
|
|
testApiPull_PullsMessage ( ) |
|
|
testApiPushAsync_HandlesSendAsync ( ) |
|
|
testApiPushAsync_HandlesSendAsyncOnEachName ( ) |
|
|
testApiPushAsync_ReturnsArrayOfStatuses_WhenMultipleNamesSet ( ) |
|
|
testApiPushAsync_ReturnsEmptyArray_WhenNoneNameSet ( ) |
|
|
testApiPushAsync_ReturnsStatus_WhenSingleNameSet ( ) |
|
|
testApiPushRequest_HandlesSendAsync ( ) |
|
|
testApiPushRequest_HandlesSendAsyncOnEachName ( ) |
|
|
testApiPushRequest_ReturnsArrayOfStatuses_WhenMultipleNamesSet ( ) |
|
|
testApiPushRequest_ReturnsEmptyArray_WhenNoneNameSet ( ) |
|
|
testApiPushRequest_ReturnsStatus_WhenSingleNameSet ( ) |
|
|
testApiPush_PushesAsync_WhenCallbacksAreNull ( ) |
|
|
testApiPush_PushesRequest_WhenAtLeastOneOfCallbacksIsNotNull ( ) |
|
|
testApiReceive_ReceivesMessage ( ) |
|
|
testApiRemoveBus_DoesNothing_WhenBusDoesNotExist ( ) |
|
|
testApiRemoveBus_RemovesBus_WhenBusDoesExist ( ) |
|
|
testApiRouter_ReturnsRouter ( ) |
|
|
testApiSendAsync_HandlesSendAsync ( ) |
|
|
testApiSendAsync_HandlesSendAsyncOnEachName ( ) |
|
|
testApiSendAsync_ReturnsArrayOfStatuses_WhenMultipleNamesSet ( ) |
|
|
testApiSendAsync_ReturnsEmptyArray_WhenNoneNameSet ( ) |
|
|
testApiSendAsync_ReturnsStatus_WhenSingleNameSet ( ) |
|
|
testApiSendRequest_HandlesSendAsync ( ) |
|
|
testApiSendRequest_HandlesSendAsyncOnEachName ( ) |
|
|
testApiSendRequest_ReturnsArrayOfStatuses_WhenMultipleNamesSet ( ) |
|
|
testApiSendRequest_ReturnsEmptyArray_WhenNoneNameSet ( ) |
|
|
testApiSendRequest_ReturnsStatus_WhenSingleNameSet ( ) |
|
|
testApiSend_SendsAsync_WhenCallbacksAreNull ( ) |
|
|
testApiSend_SendsRequest_WhenAtLeastOneOfCallbacksIsNotNull ( ) |
|
|
testApiSetBus_SetsBus_WhenBusDoesNotExist ( ) |
|
|
testApiSetBus_ThrowsException_WhenBusDoesExist ( ) |
|
|
testApiStart_CallsStartOnAllBuses ( ) |
|
|
testApiStop_CallsStopOnAllBuses ( ) |
|
|
testCaseAllOnMethods_RegisterHandlers ( $event ) |
|
|
testProtectedApiCreateMessageProtocol_AcceptsMessageProtocol ( ) |
|
|
testProtectedApiCreateMessageProtocol_AcceptsNull ( ) |
|
|
testProtectedApiCreateMessageProtocol_AcceptsStringProtocol ( ) |
|
|
testProtectedApiCreateMessageProtocol_DoesNotOverwriteSetFields ( ) |
|
|
testProtectedApiCreateMessageProtocol_OverwritesNotSetFields ( ) |
|
|
testProtectedApiGenID_GeneratesUniqueID_WithPrefixEqualToSeed ( ) |
|
|
testProtectedApiGetNextSuffix_ResetsOnAfter2Mld ( ) |
|
|
testProtectedApiGetNextSuffix_ReturnsNextSuffix ( ) |
|
|
testProtectedApiGetTime_ReturnsTime ( ) |
|
|