PHP Class Kraken\_Unit\Throwable\ThrowableProxyTest

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode Description
assertString ( string $string )
createThrowableProxy ( Error | Exception | string[] | string $exceptionOrMessage, string[] | null $methods = null ) : ThrowableProxy | PHPUnit_Framework_MockObject_MockObject
testApiConstructor_CreatesInstance ( )
testApiConstructor_CreatesInstance_WhenErrorPassed ( )
testApiConstructor_CreatesInstance_WhenExceptionPassed ( )
testApiConstructor_CreatesInstance_WhenMessagePassed ( )
testApiConstructor_CreatesInstance_WhenStringArrayPassed ( )
testApiConstructor_CreatesInstance_WithPreviousElementBeingError ( )
testApiConstructor_CreatesInstance_WithPreviousElementBeingException ( )
testApiConstructor_CreatesInstance_WithPreviousElementBeingFrameworkError ( )
testApiDestructor_DoesNotThrowException ( )
testApiGetCode_ReturnsCode ( )
testApiGetFile_ReturnsFile ( )
testApiGetLine_ReturnsLine ( )
testApiGetMessage_ReturnsMessage ( )
testApiGetPrevious_ReturnsNull_WhenPreviousDoesNotExist ( )
testApiGetPrevious_ReturnsPrevious_WhenPreviousDoesExist ( )
testApiGetTraceAsString_ReturnsTraceAsString ( )
testApiGetTrace_ReturnsTrace ( )
testApiToString_ReturnsString ( )
testApiToThrowable_ReturnsOriginal ( )

Method Details

assertString() public méthode

public assertString ( string $string )
$string string

createThrowableProxy() public méthode

public createThrowableProxy ( Error | Exception | string[] | string $exceptionOrMessage, string[] | null $methods = null ) : ThrowableProxy | PHPUnit_Framework_MockObject_MockObject
$exceptionOrMessage Error | Exception | string[] | string
$methods string[] | null
Résultat Kraken\Throwable\ThrowableProxy | PHPUnit_Framework_MockObject_MockObject

testApiConstructor_CreatesInstance() public méthode

testApiConstructor_CreatesInstance_WhenErrorPassed() public méthode

testApiConstructor_CreatesInstance_WhenExceptionPassed() public méthode

testApiConstructor_CreatesInstance_WhenMessagePassed() public méthode

testApiConstructor_CreatesInstance_WhenStringArrayPassed() public méthode

testApiConstructor_CreatesInstance_WithPreviousElementBeingError() public méthode

testApiConstructor_CreatesInstance_WithPreviousElementBeingException() public méthode

testApiConstructor_CreatesInstance_WithPreviousElementBeingFrameworkError() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiGetCode_ReturnsCode() public méthode

testApiGetFile_ReturnsFile() public méthode

testApiGetLine_ReturnsLine() public méthode

testApiGetMessage_ReturnsMessage() public méthode

testApiGetPrevious_ReturnsNull_WhenPreviousDoesNotExist() public méthode

testApiGetPrevious_ReturnsPrevious_WhenPreviousDoesExist() public méthode

testApiGetTraceAsString_ReturnsTraceAsString() public méthode

testApiGetTrace_ReturnsTrace() public méthode

testApiToString_ReturnsString() public méthode

testApiToThrowable_ReturnsOriginal() public méthode