PHP 클래스 Kraken\_Unit\Channel\Encoder\EncoderTest

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

공개 메소드들

메소드 설명
createEncoder ( ) : Encoder
createProtocol ( ) : Protocol
decode ( string $str ) : mixed
encode ( mixed $mixed ) : string
testApiConstructor_DoesNotThrowException ( )
testApiDecode_DecodesStringUsingPassedParser ( )
testApiDestructor_DoesNotThrowException ( )
testApiEncode_EncodesProtocolUsingPassedParser ( )
testApiWith_SetsProtocol ( )

메소드 상세

createEncoder() 공개 메소드

public createEncoder ( ) : Encoder
리턴 Kraken\Channel\Encoder\Encoder

createProtocol() 공개 메소드

public createProtocol ( ) : Protocol
리턴 Kraken\Channel\Protocol\Protocol

decode() 공개 메소드

public decode ( string $str ) : mixed
$str string
리턴 mixed

encode() 공개 메소드

public encode ( mixed $mixed ) : string
$mixed mixed
리턴 string

testApiConstructor_DoesNotThrowException() 공개 메소드

testApiDecode_DecodesStringUsingPassedParser() 공개 메소드

testApiDestructor_DoesNotThrowException() 공개 메소드

testApiEncode_EncodesProtocolUsingPassedParser() 공개 메소드

testApiWith_SetsProtocol() 공개 메소드