PHP Class Kraken\_Unit\Log\Handler\HandlerTest

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

Méthodes publiques

Méthode Description
createHandler ( ) : Handler
expect ( string $method, mixed[] $args = null, integer $times = 1 ) : Prophecy\Prophecy\MethodProphecy
prevent ( string $method, mixed[] $args = null ) : Prophecy\Prophecy\MethodProphecy
testApiConstructor_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )
testApiGetFormatter_CallsMethodOnModel ( )
testApiGetModel_ReturnsModel ( )
testApiHandleBatch_CallsMethodOnModel ( )
testApiHandle_CallsMethodOnModel ( )
testApiIsHandling_CallsMethodOnModel ( )
testApiPopProcessor_CallsMethodOnModel ( )
testApiPushProcessor_CallsMethodOnModel ( )
testApiSetFormatter_CallsMethodOnModel ( )

Method Details

createHandler() public méthode

public createHandler ( ) : Handler
Résultat Kraken\Log\Handler\Handler

expect() public méthode

public expect ( string $method, mixed[] $args = null, integer $times = 1 ) : Prophecy\Prophecy\MethodProphecy
$method string
$args mixed[]
$times integer
Résultat Prophecy\Prophecy\MethodProphecy

prevent() public méthode

public prevent ( string $method, mixed[] $args = null ) : Prophecy\Prophecy\MethodProphecy
$method string
$args mixed[]
Résultat Prophecy\Prophecy\MethodProphecy

testApiConstructor_DoesNotThrowException() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiGetFormatter_CallsMethodOnModel() public méthode

testApiGetModel_ReturnsModel() public méthode

testApiHandleBatch_CallsMethodOnModel() public méthode

testApiHandle_CallsMethodOnModel() public méthode

testApiIsHandling_CallsMethodOnModel() public méthode

testApiPopProcessor_CallsMethodOnModel() public méthode

testApiPushProcessor_CallsMethodOnModel() public méthode

testApiSetFormatter_CallsMethodOnModel() public méthode