Method |
Description |
|
createSolver ( string[] | null $methods = null ) : Kraken\Supervision\SolverInterface | PHPUnit_Framework_MockObject_MockObject |
|
|
createSupervisor ( mixed[] $params = [], Kraken\Supervision\SolverInterface[] $rules = [], mixed[] | null $methods = null ) : Supervisor | PHPUnit_Framework_MockObject_MockObject |
|
|
testApiConstructor_CreatesInstance ( ) |
|
|
testApiDestructor_DoesNotThrowException ( ) |
|
|
testApiExistsParam_ReturnsFalse_WhenParamDoesNotExist ( ) |
|
|
testApiExistsParam_ReturnsTrue_WhenParamDoesExist ( ) |
|
|
testApiExistsSolver_ReturnsFalse_WhenHandlerDoesNotExist ( ) |
|
|
testApiExistsSolver_ReturnsTrue_WhenHandlerDoesExist ( ) |
|
|
testApiGetParam_ReturnsNull_WhenParamDoesNotExist ( ) |
|
|
testApiGetParam_ReturnsParam_WhenParamDoesExist ( ) |
|
|
testApiGetSolver_ReturnsHandler_WhenHandlerDoesExist ( ) |
|
|
testApiGetSolver_ReturnsNull_WhenHandlerDoesNotExist ( ) |
|
|
testApiInvoke_CallsHandleMethod ( ) |
|
|
testApiRemoveParam_DoesNothing_WhenParamDoesNotExist ( ) |
|
|
testApiRemoveParam_RemovesParam_WhenParamDoesExist ( ) |
|
|
testApiRemoveSolver_DoesNothing_WhenHandlerDoesNotExist ( ) |
|
|
testApiRemoveSolver_RemovesHandler_WhenHandlerDoesExist ( ) |
|
|
testApiResolveHandler_ResolvesHandler_WhenHandlerDoesExistInsideFactory ( ) |
|
|
testApiResolveHandler_ReturnsImmediately_WhenConcreteHandlerPassed ( ) |
|
|
testApiResolveHandler_ThrowsException_WhenHandlerDoesNotExistInsideFactory ( ) |
|
|
testApiSetParam_SetsParam ( ) |
|
|
testApiSetSolver_AcceptsHandler_WhenConcreteHandlerIsPassed ( ) |
|
|
testApiSetSolver_ResolvesHandler_WhenPassedMixedArgumentsArray ( ) |
|
|
testApiSetSolver_ResolvesHandler_WhenPassedMultipleNamesOfExistingHandlers ( ) |
|
|
testApiSetSolver_ResolvesHandler_WhenPassedNameOfExistingHandler ( ) |
|
|
testApiSetSolver_ThrowsException_WhenAtLeastOneHandlerIsInvalid ( ) |
|
|
testApiSolve_HandlesException_UsingFirstValidHandler ( ) |
|
|
testApiSolve_RejectsPromise_WhenNoValidExceptionFound ( ) |
|
|