PHP Класс Kraken\_Unit\Throwable\ThrowableProxyTest

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

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

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

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

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

public assertString ( string $string )
$string string

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

public createThrowableProxy ( Error | Exception | string[] | string $exceptionOrMessage, string[] | null $methods = null ) : ThrowableProxy | PHPUnit_Framework_MockObject_MockObject
$exceptionOrMessage Error | Exception | string[] | string
$methods string[] | null
Результат Kraken\Throwable\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() публичный Метод