Method | Description | |
---|---|---|
createProtocol ( ) : |
||
createResponse ( Kraken\Channel\Protocol\ProtocolInterface $protocol, string | string[] | Erro\Error | Exceptio\Exception $message, mixed[] $params = [], string[] $methods = [] ) : |
||
testApiCall_CallsSendMethodWithPromise ( ) | ||
testApiConstrutor_DoesNotThrowException ( ) | ||
testApiDestructor_DoesNotThrowException ( ) | ||
testApiInvoke_CallsSendMethodWithPromise ( ) | ||
testApiSend_SendsMessageAsException_OnFailure ( ) | ||
testApiSend_SendsMessageAsMessage_OnSuccess ( ) |
Method | Description | |
---|---|---|
createChannelMock ( string $name ) : |
public createProtocol ( ) : |
||
return |
public createResponse ( Kraken\Channel\Protocol\ProtocolInterface $protocol, string | string[] | Erro\Error | Exceptio\Exception $message, mixed[] $params = [], string[] $methods = [] ) : |
||
$protocol | Kraken\Channel\Protocol\ProtocolInterface | |
$message | string | string[] | Erro\Error | Exceptio\Exception | |
$params | mixed[] | |
$methods | string[] | |
return |
public testApiCall_CallsSendMethodWithPromise ( ) |
public testApiConstrutor_DoesNotThrowException ( ) |
public testApiDestructor_DoesNotThrowException ( ) |
public testApiInvoke_CallsSendMethodWithPromise ( ) |
public testApiSend_SendsMessageAsMessage_OnSuccess ( ) |