Method | Description | |
---|---|---|
createChannelMock ( string $name ) : |
public createRequest ( string $name, string | Kraken\Channel\Protocol\ProtocolInterface $message, mixed[] $params = [], string[] $methods = [] ) : |
||
$name | string | |
$message | string | Kraken\Channel\Protocol\ProtocolInterface | |
$params | mixed[] | |
$methods | string[] | |
return |
public testApiCall_CallsSendMethodWithPromise ( ) |
public testApiConstrutor_AllowsProtocolMessage ( ) |
public testApiConstrutor_DoesNotThrowException ( ) |
public testApiDestructor_DoesNotThrowException ( ) |
public testApiInvoke_CallsSendMethodWithPromise ( ) |
public testApiSend_CallsSendMethodOnChannel ( ) |
public testApiSend_ResolvesPromiseOnSuccess ( ) |