PHP Class Kraken\_Unit\Throwable\ErrorHandlerTest

Inheritance: extends Kraken\Test\TUnit
Show file Open project: kraken-php/framework

Public Methods

Method Description
errorProvider ( ) : mixed[]
noticeProvider ( ) : mixed[]
testStaticApiHandleError_ReturnsImmediately_OnUndefinedLevelErrors ( $code, $expected )
testStaticApiHandleError_ThrowsFatal_OnFatalLevelErrors ( $code, $expected )
testStaticApiHandleError_ThrowsNotice_OnNoticeLevelErrors ( $code, $expected )
testStaticApiHandleError_ThrowsWarning_OnWarningLevelErrors ( $code, $expected )
undefinedProvider ( ) : mixed[]
warningProvider ( ) : mixed[]

Method Details

errorProvider() public method

public errorProvider ( ) : mixed[]
return mixed[]

noticeProvider() public method

public noticeProvider ( ) : mixed[]
return mixed[]

testStaticApiHandleError_ReturnsImmediately_OnUndefinedLevelErrors() public method

testStaticApiHandleError_ThrowsFatal_OnFatalLevelErrors() public method

testStaticApiHandleError_ThrowsNotice_OnNoticeLevelErrors() public method

testStaticApiHandleError_ThrowsWarning_OnWarningLevelErrors() public method

undefinedProvider() public method

public undefinedProvider ( ) : mixed[]
return mixed[]

warningProvider() public method

public warningProvider ( ) : mixed[]
return mixed[]