PHP Class Kraken\_Unit\Runtime\Command\_T\TCommand

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Protected Properties

Свойство Type Description
$class string
$cmd Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject
$core Kraken\Core\CoreInterface | PHPUnit_Framework_MockObject_MockObject
$manager Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
$runtime Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject

Méthodes publiques

Méthode Description
createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
createCommand ( array $context = [], array $methods = [] ) : Command | PHPUnit_Framework_MockObject_MockObject
createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
createRuntime ( string[] | null $methods = [] ) : Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
createSupervisor ( string[] | null $methods = [] ) : Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject
setUp ( )
testApiConstruct_DoesNotThrowException ( )
testApiConstructor_CreatesInstance ( )
testApiConstructor_SetsRuntimeInContext ( )
testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed ( )
testApiDestruct_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )

Method Details

createChannel() public méthode

public createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject

createCommand() public méthode

public createCommand ( array $context = [], array $methods = [] ) : Command | PHPUnit_Framework_MockObject_MockObject
$context array
$methods array
Résultat Kraken\Runtime\Command\Command | PHPUnit_Framework_MockObject_MockObject

createManager() public méthode

public createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
Résultat Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

createRuntime() public méthode

public createRuntime ( string[] | null $methods = [] ) : Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject

createSupervisor() public méthode

public createSupervisor ( string[] | null $methods = [] ) : Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Supervision\SupervisorInterface | PHPUnit_Framework_MockObject_MockObject

setUp() public méthode

public setUp ( )

testApiConstruct_DoesNotThrowException() public méthode

testApiConstructor_CreatesInstance() public méthode

testApiConstructor_SetsRuntimeInContext() public méthode

testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed() public méthode

testApiDestruct_DoesNotThrowException() public méthode

testApiDestructor_DoesNotThrowException() public méthode

Property Details

$class protected_oe property

protected string $class
Résultat string

$cmd protected_oe property

protected CommandInterface,Kraken\Runtime\Command|PHPUnit_Framework_MockObject_MockObject $cmd
Résultat Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject

$core protected_oe property

protected CoreInterface,Kraken\Core|PHPUnit_Framework_MockObject_MockObject $core
Résultat Kraken\Core\CoreInterface | PHPUnit_Framework_MockObject_MockObject

$manager protected_oe property

protected RuntimeManagerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $manager
Résultat Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

$runtime protected_oe property

protected RuntimeContainerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $runtime
Résultat Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject