PHP Класс Kraken\_Unit\Log\Formatter\FormatterTest

Наследование: extends Kraken\Test\TUnit
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Описание методов

createFormatter() публичный Метод

public createFormatter ( ) : Formatter
Результат Kraken\Log\Formatter\Formatter

expect() публичный Метод

public expect ( string $method, mixed[] $args = null, integer $times = 1 ) : Prophecy\Prophecy\MethodProphecy
$method string
$args mixed[]
$times integer
Результат Prophecy\Prophecy\MethodProphecy

prevent() публичный Метод

public prevent ( string $method, mixed[] $args = null ) : Prophecy\Prophecy\MethodProphecy
$method string
$args mixed[]
Результат Prophecy\Prophecy\MethodProphecy

testApiConstructor_DoesNotThrowException() публичный Метод

testApiDestructor_DoesNotThrowException() публичный Метод

testApiFormatBatch_CallsMethodOnModel() публичный Метод

testApiFormat_CallsMethodOnModel() публичный Метод

testApiGetModel_ReturnsModel() публичный Метод