PHP Class Kraken\_Unit\Runtime\_T\TSolver

Inheritance: extends Kraken\Test\TUnit
ファイルを表示 Open project: kraken-php/framework

Protected Properties

Property Type Description
$class string
$manager Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
$runtime Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
$solver Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject

Public Methods

Method Description
createChannel ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
createLogger ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
createRuntime ( string[] | null $methods = [] ) : Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject
createSolver ( mixed[] $context = [], string[] | null $methods = null ) : Kraken\Supervision\SolverInterface | PHPUnit_Framework_MockObject_MockObject
setUp ( )
testApiConstruct_DoesNotThrowException ( )
testApiConstructor_CreatesInstance ( )
testApiConstructor_SetsRuntime ( )
testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed ( )
testApiDestruct_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )

Method Details

createChannel() public method

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

createLogger() public method

public createLogger ( string[] | null $methods = [] ) : Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject
$methods string[] | null
return Kraken\Channel\ChannelInterface | PHPUnit_Framework_MockObject_MockObject

createManager() public method

public createManager ( ) : Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject
return Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

createRuntime() public method

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

createSolver() public method

public createSolver ( mixed[] $context = [], string[] | null $methods = null ) : Kraken\Supervision\SolverInterface | PHPUnit_Framework_MockObject_MockObject
$context mixed[]
$methods string[] | null
return Kraken\Supervision\SolverInterface | PHPUnit_Framework_MockObject_MockObject

setUp() public method

public setUp ( )

testApiConstruct_DoesNotThrowException() public method

testApiConstructor_CreatesInstance() public method

testApiConstructor_SetsRuntime() public method

testApiConstructor_ThrowsException_WhenNoRuntimeIsPassed() public method

testApiDestruct_DoesNotThrowException() public method

testApiDestructor_DoesNotThrowException() public method

Property Details

$class protected_oe property

protected string $class
return string

$manager protected_oe property

protected RuntimeManagerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $manager
return Kraken\Runtime\RuntimeManagerInterface | PHPUnit_Framework_MockObject_MockObject

$runtime protected_oe property

protected RuntimeContainerInterface,Kraken\Runtime|PHPUnit_Framework_MockObject_MockObject $runtime
return Kraken\Runtime\RuntimeContainerInterface | PHPUnit_Framework_MockObject_MockObject

$solver protected_oe property

protected CommandInterface,Kraken\Runtime\Command|PHPUnit_Framework_MockObject_MockObject $solver
return Kraken\Runtime\Command\CommandInterface | PHPUnit_Framework_MockObject_MockObject