PHP Class Kraken\_Unit\Runtime\Container\Manager\ThreadManagerRemoteTest

Inheritance: extends Kraken\Test\TUnit
Show file Open project: kraken-php/framework

Public Methods

Method Description
createThreadManager ( string | null $receiver = null ) : ThreadManagerRemote
getCommand ( ) : RuntimeCommand
testApiConstructor_CreatesInstance ( )
testApiConstructor_SetsDefaultReceiver_WhenReceiverIsNotPassed ( )
testApiConstructor_SetsPassedReceiver_WhenReceiverIsPassed ( )
testApiCreateThread_InvokesValidCommand ( )
testApiCreateThreads_InvokesValidCommand ( )
testApiDestroyThread_InvokesValidCommand ( )
testApiDestroyThreads_InvokesValidCommand ( )
testApiDestructor_DoesNotThrowException ( )
testApiExistsThread_ReturnsFalse ( )
testApiFlushThreads_RejectsPromise ( )
testApiGetThreads_InvokesValidCommand ( )
testApiStartThread_InvokesValidCommand ( )
testApiStartThreads_InvokesValidCommand ( )
testApiStopThread_InvokesValidCommand ( )
testApiStopThreads_InvokesValidCommand ( )
testProtectedApiCreateRequest_CreatesRequest ( )

Method Details

createThreadManager() public method

public createThreadManager ( string | null $receiver = null ) : ThreadManagerRemote
$receiver string | null
return Kraken\Runtime\Container\Manager\ThreadManagerRemote

getCommand() public method

public getCommand ( ) : RuntimeCommand
return Kraken\Runtime\RuntimeCommand

testApiConstructor_CreatesInstance() public method

testApiConstructor_SetsDefaultReceiver_WhenReceiverIsNotPassed() public method

testApiConstructor_SetsPassedReceiver_WhenReceiverIsPassed() public method

testApiCreateThread_InvokesValidCommand() public method

testApiCreateThreads_InvokesValidCommand() public method

testApiDestroyThread_InvokesValidCommand() public method

testApiDestroyThreads_InvokesValidCommand() public method

testApiDestructor_DoesNotThrowException() public method

testApiExistsThread_ReturnsFalse() public method

testApiFlushThreads_RejectsPromise() public method

testApiGetThreads_InvokesValidCommand() public method

testApiStartThread_InvokesValidCommand() public method

testApiStartThreads_InvokesValidCommand() public method

testApiStopThread_InvokesValidCommand() public method

testApiStopThreads_InvokesValidCommand() public method

testProtectedApiCreateRequest_CreatesRequest() public method