PHP Класс Kraken\_Unit\Log\Handler\HandlerTest

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

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

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

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

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

public createHandler ( ) : Handler
Результат Kraken\Log\Handler\Handler

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() публичный Метод

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

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

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

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

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

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

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

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