PHP Class Kraken\_Unit\Log\Formatter\FormatterTest

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

Méthodes publiques

Méthode Description
createFormatter ( ) : Formatter
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 ( )
testApiFormatBatch_CallsMethodOnModel ( )
testApiFormat_CallsMethodOnModel ( )
testApiGetModel_ReturnsModel ( )

Method Details

createFormatter() public méthode

public createFormatter ( ) : Formatter
Résultat Kraken\Log\Formatter\Formatter

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

testApiFormatBatch_CallsMethodOnModel() public méthode

testApiFormat_CallsMethodOnModel() public méthode

testApiGetModel_ReturnsModel() public méthode