PHP Class Kraken\_Unit\Log\Formatter\FormatterTest

Inheritance: extends Kraken\Test\TUnit
Datei anzeigen Open project: kraken-php/framework

Public Methods

Method 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 method

public createFormatter ( ) : Formatter
return Kraken\Log\Formatter\Formatter

expect() public method

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

prevent() public method

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

testApiConstructor_DoesNotThrowException() public method

testApiDestructor_DoesNotThrowException() public method

testApiFormatBatch_CallsMethodOnModel() public method

testApiFormat_CallsMethodOnModel() public method

testApiGetModel_ReturnsModel() public method