PHP 클래스 Kraken\_Unit\Log\Formatter\FormatterTest

상속: extends Kraken\Test\TUnit
파일 보기 프로젝트 열기: kraken-php/framework

공개 메소드들

메소드 설명
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() 공개 메소드