PHP Class Kraken\_Unit\Supervision\SolverTest

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

Public Methods

Method Description
createSolver ( mixed[] $context = [], string[] | null $methods = null ) : Solver | PHPUnit_Framework_MockObject_MockObject
testApiConstructor_CallsConstructMethod ( )
testApiConstructor_CreatesInstance ( )
testApiDestructor_CallsDestructMethod ( )
testApiDestructor_DoesNotThrowException ( )
testApiHandle_CallsHandlerMethod ( )
testApiHandle_ReturnsRejectedPromise_WhenRequiredParamIsNotPassed ( )
testApiHandler_ThrowsException ( )
testApiInvoke_CallsHandleMethod ( )

Method Details

createSolver() public method

public createSolver ( mixed[] $context = [], string[] | null $methods = null ) : Solver | PHPUnit_Framework_MockObject_MockObject
$context mixed[]
$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

testApiHandle_CallsHandlerMethod() public method

testApiHandle_ReturnsRejectedPromise_WhenRequiredParamIsNotPassed() public method

testApiHandler_ThrowsException() public method

testApiInvoke_CallsHandleMethod() public method