PHP Class Kraken\_Module\Runtime\RuntimeModelTest

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

Méthodes publiques

Méthode Description
createCore ( string[] | null $methods = [] ) : Core | PHPUnit_Framework_MockObject_MockObject
createEmitter ( string[] | null $methods = null ) : EventEmitter | PHPUnit_Framework_MockObject_MockObject
createLoop ( string[] | null $methods = null ) : Loop | PHPUnit_Framework_MockObject_MockObject
createModel ( Kraken\Core\CoreInterface $core, Kraken\Event\EventEmitterInterface $emitter, string[] | null $methods = null ) : RuntimeModel | PHPUnit_Framework_MockObject_MockObject
createSupervisor ( Kraken\Runtime\RuntimeModelInterface $model, string[] | null $methods = null ) : Supervisor | PHPUnit_Framework_MockObject_MockObject
testApiCreate_BehavesAsIntended ( )
testApiDestroy_BehavesAsIntended ( )
testApiStart_BehavesAsIntended ( )
testApiStop_BehavesAsIntended ( )
testCaseFailAndSucceed_BehavesAsIntended ( )

Method Details

createCore() public méthode

public createCore ( string[] | null $methods = [] ) : Core | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Core\Core | PHPUnit_Framework_MockObject_MockObject

createEmitter() public méthode

public createEmitter ( string[] | null $methods = null ) : EventEmitter | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Event\EventEmitter | PHPUnit_Framework_MockObject_MockObject

createLoop() public méthode

public createLoop ( string[] | null $methods = null ) : Loop | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
Résultat Kraken\Loop\Loop | PHPUnit_Framework_MockObject_MockObject

createModel() public méthode

public createModel ( Kraken\Core\CoreInterface $core, Kraken\Event\EventEmitterInterface $emitter, string[] | null $methods = null ) : RuntimeModel | PHPUnit_Framework_MockObject_MockObject
$core Kraken\Core\CoreInterface
$emitter Kraken\Event\EventEmitterInterface
$methods string[] | null
Résultat Kraken\Runtime\RuntimeModel | PHPUnit_Framework_MockObject_MockObject

createSupervisor() public méthode

public createSupervisor ( Kraken\Runtime\RuntimeModelInterface $model, string[] | null $methods = null ) : Supervisor | PHPUnit_Framework_MockObject_MockObject
$model Kraken\Runtime\RuntimeModelInterface
$methods string[] | null
Résultat Kraken\Supervision\Supervisor | PHPUnit_Framework_MockObject_MockObject

testApiCreate_BehavesAsIntended() public méthode

testApiDestroy_BehavesAsIntended() public méthode

testApiStart_BehavesAsIntended() public méthode

testApiStop_BehavesAsIntended() public méthode

testCaseFailAndSucceed_BehavesAsIntended() public méthode