PHP Class Kraken\_Unit\Supervision\SolverCompositeTest

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

Public Methods

Method Description
createSolver ( Kraken\Supervision\SolverInterface[] $handlers = [], string[] | null $methods = null ) : Solver | PHPUnit_Framework_MockObject_MockObject
testApiConstructor_CallsConstructMethod ( )
testApiConstructor_CreatesInstance ( )
testApiDestructor_CallsDestructMethod ( )
testApiDestructor_DoesNotThrowException ( )
testApiInvoke_CallsHandleMethod ( )
testApiSolve_CallsHandlerMethod ( )
testApiSolver_CallsHandlersOneAfterAnother ( )
testApiSolver_RejectsPromise_OnFirstRejection ( )

Method Details

createSolver() public method

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

testApiConstructor_CallsConstructMethod() public method

testApiConstructor_CreatesInstance() public method

testApiDestructor_CallsDestructMethod() public method

testApiDestructor_DoesNotThrowException() public method

testApiInvoke_CallsHandleMethod() public method

testApiSolve_CallsHandlerMethod() public method

testApiSolver_CallsHandlersOneAfterAnother() public method

testApiSolver_RejectsPromise_OnFirstRejection() public method