PHP 클래스 Kraken\_Unit\Channel\Protocol\ProtocolTest

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

공개 메소드들

메소드 설명
createProtocol ( string $type = '', string $pid = '', string $destination = '', string $origin = '', string $message = '', string $exception = '', integer $timestamp ) : Protocol
testApiConstructor_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )
testApiGetAll_ReturnsAll ( )
testApiGetDestination_ReturnsDestination ( )
testApiGetException_ReturnsException ( )
testApiGetMessage_ReturnsMessage ( )
testApiGetOrigin_ReturnsOrigin ( )
testApiGetPid_ReturnsPid ( )
testApiGetTimestamp_ReturnsTimestamp ( )
testApiGetType_ReturnsType ( )
testApiSetAll_SetsAll_WhenOverwriteFlagIsSet ( )
testApiSetDestination_DoesNothing_WhenDestinationIsSetAndOverwriteFlagIsNotSet ( )
testApiSetDestination_SetsDestination_WhenDestinationIsNotSet ( )
testApiSetDestination_SetsDestination_WhenDestinationIsSetAndOverwriteFlagIsSet ( )
testApiSetException_DoesNothing_WhenExceptionIsSetAndOverwriteFlagIsNotSet ( )
testApiSetException_SetsException_WhenExceptionIsNotSet ( )
testApiSetException_SetsException_WhenExceptionIsSetAndOverwriteFlagIsSet ( )
testApiSetMessage_DoesNothing_WhenMessageIsSetAndOverwriteFlagIsNotSet ( )
testApiSetMessage_SetsMessage_WhenMessageIsNotSet ( )
testApiSetMessage_SetsMessage_WhenMessageIsSetAndOverwriteFlagIsSet ( )
testApiSetOrigin_DoesNothing_WhenOriginIsSetAndOverwriteFlagIsNotSet ( )
testApiSetOrigin_SetsOrigin_WhenOriginIsNotSet ( )
testApiSetOrigin_SetsOrigin_WhenOriginIsSetAndOverwriteFlagIsSet ( )
testApiSetPid_DoesNothing_WhenPidIsSetAndOverwriteFlagIsNotSet ( )
testApiSetPid_SetsPid_WhenPidIsNotSet ( )
testApiSetPid_SetsPid_WhenPidIsSetAndOverwriteFlagIsSet ( )
testApiSetTimestamp_DoesNothing_WhenTimestampIsSetAndOverwriteFlagIsNotSet ( )
testApiSetTimestamp_SetsTimestamp_WhenTimestampIsNotSet ( )
testApiSetTimestamp_SetsTimestamp_WhenTimestampIsSetAndOverwriteFlagIsSet ( )
testApiSetType_DoesNothing_WhenTypeIsSetAndOverwriteFlagIsNotSet ( )
testApiSetType_SetsType_WhenTypeIsNotSet ( )
testApiSetType_SetsType_WhenTypeIsSetAndOverwriteFlagIsSet ( )

메소드 상세

createProtocol() 공개 메소드

public createProtocol ( string $type = '', string $pid = '', string $destination = '', string $origin = '', string $message = '', string $exception = '', integer $timestamp ) : Protocol
$type string
$pid string
$destination string
$origin string
$message string
$exception string
$timestamp integer
리턴 Kraken\Channel\Protocol\Protocol

testApiConstructor_DoesNotThrowException() 공개 메소드

testApiDestructor_DoesNotThrowException() 공개 메소드

testApiGetAll_ReturnsAll() 공개 메소드

testApiGetDestination_ReturnsDestination() 공개 메소드

testApiGetException_ReturnsException() 공개 메소드

testApiGetMessage_ReturnsMessage() 공개 메소드

testApiGetOrigin_ReturnsOrigin() 공개 메소드

testApiGetPid_ReturnsPid() 공개 메소드

testApiGetTimestamp_ReturnsTimestamp() 공개 메소드

testApiGetType_ReturnsType() 공개 메소드

testApiSetAll_SetsAll_WhenOverwriteFlagIsSet() 공개 메소드

testApiSetDestination_DoesNothing_WhenDestinationIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetDestination_SetsDestination_WhenDestinationIsNotSet() 공개 메소드

testApiSetDestination_SetsDestination_WhenDestinationIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetException_DoesNothing_WhenExceptionIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetException_SetsException_WhenExceptionIsNotSet() 공개 메소드

testApiSetException_SetsException_WhenExceptionIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetMessage_DoesNothing_WhenMessageIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetMessage_SetsMessage_WhenMessageIsNotSet() 공개 메소드

testApiSetMessage_SetsMessage_WhenMessageIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetOrigin_DoesNothing_WhenOriginIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetOrigin_SetsOrigin_WhenOriginIsNotSet() 공개 메소드

testApiSetOrigin_SetsOrigin_WhenOriginIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetPid_DoesNothing_WhenPidIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetPid_SetsPid_WhenPidIsNotSet() 공개 메소드

testApiSetPid_SetsPid_WhenPidIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetTimestamp_DoesNothing_WhenTimestampIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetTimestamp_SetsTimestamp_WhenTimestampIsNotSet() 공개 메소드

testApiSetTimestamp_SetsTimestamp_WhenTimestampIsSetAndOverwriteFlagIsSet() 공개 메소드

testApiSetType_DoesNothing_WhenTypeIsSetAndOverwriteFlagIsNotSet() 공개 메소드

testApiSetType_SetsType_WhenTypeIsNotSet() 공개 메소드

testApiSetType_SetsType_WhenTypeIsSetAndOverwriteFlagIsSet() 공개 메소드